Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.611e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002309/0.002325, allocations: 1.962 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.003767, allocations: 1.297 MB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.003872, allocations: 3.938 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.004129, allocations: 71.59 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.00439, allocations: 139.3 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.004803, allocations: 231.1 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.004989, allocations: 195.4 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/0.00507, allocations: 30.39 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.005184, allocations: 103.7 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.005271, allocations: 79.72 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.00529, allocations: 12 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.005403, allocations: 67.94 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.005462, allocations: 51.84 kB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.005505, allocations: 43.78 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.005718, allocations: 203.2 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00572, allocations: 0 / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005721, allocations: 0 / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.005724, allocations: 0 / 277.9 MB, free: 12.7 MB / 266.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.0004141/0.006138, allocations: 461 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.006164, allocations: 8.031 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.006203, allocations: 32.84 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.006406, allocations: 217.8 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.006421, allocations: 8.375 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.006433, allocations: 8.359 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.006621, allocations: 154.7 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.006629, allocations: 11.94 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.006638, allocations: 4 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.006642, allocations: 0 / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.734e-05/0.006679, allocations: 30.73 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.006924, allocations: 212.5 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.007043, allocations: 144 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.00708, allocations: 59.33 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.007096, allocations: 7.938 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.007323, allocations: 66.2 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.007324, allocations: 0 / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001375/0.007462, allocations: 97.53 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.007513, allocations: 140.5 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.007676, allocations: 269 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.007691, allocations: 33.7 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.007732, allocations: 108.8 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.00775, allocations: 19.88 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.007782, allocations: 25.7 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.007855, allocations: 334.8 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.00787, allocations: 6.828 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.007903, allocations: 56.25 kB / 280.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.007946, allocations: 43.3 kB / 280.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.007948, allocations: 3.938 kB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.873e-05/0.008017, allocations: 72.47 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.008028, allocations: 4 kB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.008032, allocations: 320 / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.008042, allocations: 0 / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.0081, allocations: 19.92 kB / 280.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.008104, allocations: 4 kB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.008138, allocations: 8 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.008142, allocations: 0 / 280.5 MB, free: 9.797 MB / 266.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 6.96e-05/0.008212, allocations: 123.9 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.008258, allocations: 69.58 kB / 280.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.061e-05/0.008349, allocations: 79.41 kB / 280.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.008352, allocations: 3.984 kB / 280.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.008354, allocations: 4 kB / 280.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008357, allocations: 0 / 280.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.327e-05/0.008451, allocations: 121.7 kB / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008452, allocations: 0 / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.008489, allocations: 12 kB / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.008492, allocations: 4 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.008501, allocations: 16.02 kB / 280.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.008503, allocations: 4 kB / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.008504, allocations: 0 / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.694e-05/0.00858, allocations: 109.3 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.008626, allocations: 39.83 kB / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.008647, allocations: 11.92 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.574e-05/0.008683, allocations: 4 kB / 281.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.008715, allocations: 11.98 kB / 281.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.008725, allocations: 4 kB / 281.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.008802, allocations: 103.5 kB / 281.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008802, allocations: 4 kB / 281.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.008941, allocations: 35.94 kB / 281.3 MB, free: 8.977 MB / 266.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.001034/0.009975, allocations: 0.52 MB / 281.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.01007, allocations: 52.73 kB / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01007, allocations: 0 / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.01011, allocations: 24.8 kB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.01031, allocations: 78.52 kB / 281.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.01069, allocations: 364.2 kB / 282.3 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.595e-05/0.01074, allocations: 83.97 kB / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.01078, allocations: 17.64 kB / 282.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.01087, allocations: 87.62 kB / 282.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01088, allocations: 4 kB / 282.5 MB, free: 7.93 MB / 266.7 MB Notification: Performance of Templates: time 0.0051/0.01598, allocations: 3.429 MB / 285.9 MB, free: 4.566 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7220905483700335]