Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007357/0.0007357, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001764, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006249/0.0006249, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009259/0.001551, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.878/0.878, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1688/1.047, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.993e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003462/0.003482, allocations: 1.989 MB / 241.7 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.005552, allocations: 1.16 MB / 242.9 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.005688, allocations: 7.938 kB / 242.9 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.005957, allocations: 75.47 kB / 243 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.006213, allocations: 92.38 kB / 243.1 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.006886, allocations: 264.6 kB / 243.3 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.007145, allocations: 184.7 kB / 243.5 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.007249, allocations: 26.38 kB / 243.5 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.00747, allocations: 146.5 kB / 243.7 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.007598, allocations: 66.7 kB / 243.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.007628, allocations: 15.94 kB / 243.7 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.007815, allocations: 59.95 kB / 243.8 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.734e-05/0.007902, allocations: 51.84 kB / 243.8 MB, free: 2.25 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.007956, allocations: 31.88 kB / 243.9 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.008249, allocations: 179.3 kB / 244.1 MB, free: 2.043 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.00826, allocations: 0 / 244.1 MB, free: 2.043 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00826, allocations: 3.938 kB / 244.1 MB, free: 2.039 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.008273, allocations: 1.75 kB / 244.1 MB, free: 2.039 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006814/0.008954, allocations: 484.7 kB / 244.5 MB, free: 1.535 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.008991, allocations: 8.031 kB / 244.5 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.009051, allocations: 20.92 kB / 244.6 MB, free: 1.508 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.009352, allocations: 220 kB / 244.8 MB, free: 1.27 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.009373, allocations: 8.375 kB / 244.8 MB, free: 1.262 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.009395, allocations: 8.375 kB / 244.8 MB, free: 1.254 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.009668, allocations: 159.6 kB / 244.9 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.00968, allocations: 3.938 kB / 245 MB, free: 1.066 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.009693, allocations: 3.984 kB / 245 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.0097, allocations: 5.344 kB / 245 MB, free: 1.055 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.439e-05/0.009765, allocations: 22.75 kB / 245 MB, free: 1.031 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.01011, allocations: 217.9 kB / 245.2 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.01029, allocations: 160.5 kB / 245.4 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.01033, allocations: 32.66 kB / 245.4 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.01036, allocations: 19.91 kB / 245.4 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.01049, allocations: 68.11 kB / 245.5 MB, free: 468 kB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.764e-06/0.01049, allocations: 7.938 kB / 245.5 MB, free: 460 kB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.000203/0.01069, allocations: 98.86 kB / 245.6 MB, free: 356 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.01076, allocations: 136.5 kB / 245.7 MB, free: 188 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.01101, allocations: 258.7 kB / 246 MB, free: 15.92 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.01103, allocations: 26.33 kB / 246 MB, free: 15.89 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.01109, allocations: 109.4 kB / 246.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.01112, allocations: 19.88 kB / 246.1 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.01116, allocations: 26.86 kB / 246.1 MB, free: 15.72 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01126, allocations: 338.8 kB / 246.5 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.01129, allocations: 6.828 kB / 246.5 MB, free: 15.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.01134, allocations: 57.47 kB / 246.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.01141, allocations: 39.3 kB / 246.6 MB, free: 15.26 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01141, allocations: 1.531 kB / 246.6 MB, free: 15.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001199/0.01153, allocations: 76.38 kB / 246.6 MB, free: 15.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01155, allocations: 4 kB / 246.7 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01155, allocations: 0.5 kB / 246.7 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.01156, allocations: 1.438 kB / 246.7 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.01166, allocations: 16.3 kB / 246.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.01167, allocations: 4 kB / 246.7 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.01172, allocations: 0 / 246.7 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.01173, allocations: 13.02 kB / 246.7 MB, free: 15.14 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.01182, allocations: 120.6 kB / 246.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.0119, allocations: 66.02 kB / 246.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.01205, allocations: 87.36 kB / 247 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.01205, allocations: 4 kB / 247 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.01206, allocations: 0 / 247 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01206, allocations: 0 / 247 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.01219, allocations: 117.8 kB / 247.1 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.0122, allocations: 0 / 247.1 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.01228, allocations: 19.98 kB / 247.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.01235, allocations: 39.72 kB / 247.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01235, allocations: 4 kB / 247.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01236, allocations: 4.062 kB / 247.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.01237, allocations: 4 kB / 247.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01237, allocations: 3.938 kB / 247.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.01251, allocations: 113.5 kB / 247.3 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.01254, allocations: 7.938 kB / 247.3 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.01261, allocations: 4 kB / 247.3 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.01265, allocations: 11.98 kB / 247.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.01267, allocations: 4 kB / 247.3 MB, free: 14.47 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.01279, allocations: 97.59 kB / 247.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01279, allocations: 0 / 247.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.01302, allocations: 39.92 kB / 247.4 MB, free: 14.34 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001728/0.01475, allocations: 0.57 MB / 248 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01488, allocations: 44.77 kB / 248 MB, free: 13.99 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.01489, allocations: 4 kB / 248 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.797e-05/0.01495, allocations: 32.78 kB / 248.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.01538, allocations: 424.5 kB / 248.5 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.01605, allocations: 356.4 kB / 248.8 MB, free: 13.08 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.083e-05/0.01613, allocations: 95.81 kB / 248.9 MB, free: 12.97 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.659e-05/0.0162, allocations: 25.69 kB / 249 MB, free: 12.94 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.01634, allocations: 83.73 kB / 249 MB, free: 12.86 MB / 250.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01634, allocations: 4 kB / 249 MB, free: 12.86 MB / 250.7 MB Notification: Performance of Templates: time 0.006628/0.02297, allocations: 3.488 MB / 252.5 MB, free: 9.438 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5015520537272096]