Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.00138/0.00138, allocations: 120 kB / 18.46 MB, free: 4.562 MB / 14.72 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.001495/0.001495, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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.488/1.488, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 51.94 kB / 374.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 53.33 MB / 427.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00391/0.1202, allocations: 1.936 MB / 429.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1226, allocations: 1.243 MB / 430.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1228, allocations: 11.88 kB / 430.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.1235, allocations: 155.5 kB / 430.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005319/0.124, allocations: 159.3 kB / 431 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.1246, allocations: 174.9 kB / 431.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.125, allocations: 199.4 kB / 431.3 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1251, allocations: 21.67 kB / 431.4 MB, free: 480 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1253, allocations: 91.62 kB / 431.5 MB, free: 388 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1254, allocations: 83.55 kB / 431.5 MB, free: 304 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1255, allocations: 12 kB / 431.6 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.1256, allocations: 59.95 kB / 431.6 MB, free: 232 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.1257, allocations: 39.84 kB / 431.6 MB, free: 192 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.553e-05/0.1258, allocations: 75.48 kB / 431.7 MB, free: 116 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2215/0.3473, allocations: 230.3 kB / 431.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3473, allocations: 0.875 kB / 431.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3473, allocations: 2.875 kB / 431.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3473, allocations: 0 / 431.9 MB, free: 8.43 MB / 350.1 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.0008576/0.3481, allocations: 0.5246 MB / 432.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3482, allocations: 8.969 kB / 432.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.3483, allocations: 27.17 kB / 432.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.3486, allocations: 281.7 kB / 432.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3486, allocations: 5.781 kB / 432.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3486, allocations: 12.36 kB / 432.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.349, allocations: 171.4 kB / 433 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.349, allocations: 0 / 433 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.349, allocations: 7 kB / 433 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.349, allocations: 3.422 kB / 433 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3491, allocations: 39.25 kB / 433 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.3496, allocations: 379.4 kB / 433.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3499, allocations: 130.7 kB / 433.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.3499, allocations: 55.14 kB / 433.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.35, allocations: 8.328 kB / 433.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.3501, allocations: 74.78 kB / 433.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3501, allocations: 0 / 433.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003938/0.3505, allocations: 163.8 kB / 433.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.3506, allocations: 165.2 kB / 434 MB, free: 6.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.3509, allocations: 275 kB / 434.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3509, allocations: 29.39 kB / 434.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.351, allocations: 129.1 kB / 434.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.351, allocations: 17.86 kB / 434.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.351, allocations: 32.25 kB / 434.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.3511, allocations: 334 kB / 434.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.3512, allocations: 24.3 kB / 434.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.3512, allocations: 83.14 kB / 434.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3513, allocations: 97.23 kB / 435 MB, free: 6.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3514, allocations: 0 / 435 MB, free: 6.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001914/0.3515, allocations: 129.3 kB / 435.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3516, allocations: 7 kB / 435.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3516, allocations: 2.594 kB / 435.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3516, allocations: 3.625 kB / 435.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.3517, allocations: 21.84 kB / 435.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3517, allocations: 2.188 kB / 435.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.825e-05/0.3517, allocations: 12.42 kB / 435.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3518, allocations: 6.297 kB / 435.2 MB, free: 6.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.75e-05/0.3518, allocations: 151.2 kB / 435.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.3519, allocations: 79.67 kB / 435.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.314e-05/0.352, allocations: 23.92 kB / 435.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.352, allocations: 1.344 kB / 435.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.352, allocations: 2.25 kB / 435.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.352, allocations: 5.188 kB / 435.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3522, allocations: 242.1 kB / 435.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3522, allocations: 1.219 kB / 435.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.3522, allocations: 9.688 kB / 435.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3522, allocations: 4.969 kB / 435.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3522, allocations: 8.984 kB / 435.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3522, allocations: 1.125 kB / 435.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3522, allocations: 2.875 kB / 435.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3524, allocations: 173.7 kB / 435.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.3525, allocations: 107.1 kB / 435.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3525, allocations: 6.094 kB / 436 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.3526, allocations: 4.094 kB / 436 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.3526, allocations: 13.53 kB / 436 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.3527, allocations: 3.781 kB / 436 MB, free: 5.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.3528, allocations: 210.6 kB / 436.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3528, allocations: 0 / 436.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3531, allocations: 35.31 kB / 436.2 MB, free: 5.527 MB / 350.1 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001522/0.3546, allocations: 423.2 kB / 436.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.3548, allocations: 79.05 kB / 436.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3548, allocations: 4.062 kB / 436.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.3549, allocations: 23.41 kB / 436.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.3554, allocations: 74.59 kB / 436.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.356, allocations: 377.8 kB / 437.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3562, allocations: 0.7359 MB / 437.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.3563, allocations: 22.06 kB / 437.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3563, allocations: 0 / 437.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of Templates: time 0.006753/0.363, allocations: 2.862 MB / 440.8 MB, free: 4.137 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 7.772323850978864]