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.002351/0.002351, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00266/0.00266, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.513e-06/1.513e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.762e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004065/0.004092, allocations: 1.943 MB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.006856, allocations: 1.262 MB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.007026, allocations: 7.938 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.007382, allocations: 71.59 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.00785, allocations: 135.3 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.008623, allocations: 235.1 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.008978, allocations: 195.3 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.009099, allocations: 21.8 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.009329, allocations: 111.7 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.009494, allocations: 83.77 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.009528, allocations: 8 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.009737, allocations: 71.89 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.009847, allocations: 59.75 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.009926, allocations: 35.88 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.01039, allocations: 255.1 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.0104, allocations: 0 / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.0104, allocations: 0 / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.01041, allocations: 0 / 276.8 MB, free: 13.35 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.001012/0.01142, allocations: 0.598 MB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.01145, allocations: 12.03 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.01155, allocations: 32.73 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.01201, allocations: 248.6 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.01203, allocations: 4.375 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.01205, allocations: 8.375 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.01249, allocations: 221.6 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.0125, allocations: 3.938 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.01252, allocations: 4 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.01252, allocations: 4 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.01266, allocations: 35.92 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.01334, allocations: 410.7 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.01367, allocations: 164.3 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.01379, allocations: 66.73 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.01383, allocations: 8 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.01402, allocations: 84.95 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.01402, allocations: 0 / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000456/0.01448, allocations: 161.4 kB / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.01461, allocations: 162.2 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.01507, allocations: 386.3 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.0151, allocations: 33.7 kB / 279.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.01526, allocations: 195.4 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.01529, allocations: 27.91 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.01537, allocations: 43.31 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003026/0.01567, allocations: 0.5196 MB / 280.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.01573, allocations: 15.98 kB / 280.2 MB, free: 9.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.01588, allocations: 106.4 kB / 280.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.01601, allocations: 67.23 kB / 280.3 MB, free: 9.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01601, allocations: 0 / 280.3 MB, free: 9.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002175/0.01623, allocations: 97.53 kB / 280.4 MB, free: 9.305 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01625, allocations: 8 kB / 280.5 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01625, allocations: 4.062 kB / 280.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01627, allocations: 0 / 280.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.01637, allocations: 15.98 kB / 280.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.01637, allocations: 0 / 280.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.01646, allocations: 7.953 kB / 280.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01646, allocations: 0 / 280.5 MB, free: 9.27 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 0.0001568/0.01662, allocations: 176.5 kB / 280.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.01675, allocations: 81.5 kB / 280.7 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.01703, allocations: 119.5 kB / 280.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01703, allocations: 4 kB / 280.9 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.01704, allocations: 4 kB / 280.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01704, allocations: 0 / 280.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.01733, allocations: 236.4 kB / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.01733, allocations: 0 / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.01741, allocations: 12 kB / 281.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.01742, allocations: 4 kB / 281.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01743, allocations: 3.984 kB / 281.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.01744, allocations: 7.938 kB / 281.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01744, allocations: 0 / 281.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.01779, allocations: 211.2 kB / 281.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.01789, allocations: 43.84 kB / 281.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.01793, allocations: 0 / 281.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.018, allocations: 11.98 kB / 281.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.01806, allocations: 7.984 kB / 281.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.01808, allocations: 8 kB / 281.4 MB, free: 8.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002847/0.01837, allocations: 251 kB / 281.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01837, allocations: 0 / 281.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.01863, allocations: 39.88 kB / 281.7 MB, free: 7.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.00294/0.02157, allocations: 458 kB / 282.1 MB, free: 7.707 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.0218, allocations: 75.59 kB / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02181, allocations: 0 / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.0219, allocations: 39.67 kB / 282.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.02237, allocations: 86.3 kB / 282.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.02305, allocations: 388.9 kB / 282.7 MB, free: 7.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.02323, allocations: 136.6 kB / 282.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.678e-05/0.02331, allocations: 21.62 kB / 282.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.02337, allocations: 20.5 kB / 282.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02337, allocations: 7.938 kB / 282.9 MB, free: 6.883 MB / 266.7 MB Notification: Performance of Templates: time 0.008377/0.03175, allocations: 3.241 MB / 286.1 MB, free: 3.695 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.599145679967478]