Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001104/0.001104, allocations: 80.06 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001048/0.001048, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 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 1.002/1.002, allocations: 173.3 MB / 201.1 MB, free: 9.289 MB / 186.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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.84e-05, allocations: 2.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002482/0.0025, allocations: 1.959 MB / 269.9 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.004086, allocations: 1.067 MB / 271 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.004216, allocations: 3.938 kB / 271 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.004798, allocations: 159.4 kB / 271.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.005073, allocations: 131.4 kB / 271.3 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.005558, allocations: 199.2 kB / 271.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.005811, allocations: 195.4 kB / 271.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.00592, allocations: 25.73 kB / 271.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.006065, allocations: 111.7 kB / 271.8 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.006178, allocations: 67.78 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.006205, allocations: 16 kB / 271.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.006332, allocations: 47.97 kB / 271.9 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.006396, allocations: 55.7 kB / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.006454, allocations: 39.86 kB / 272 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.006721, allocations: 167.3 kB / 272.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006723, allocations: 0 / 272.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006723, allocations: 0 / 272.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.006728, allocations: 3.938 kB / 272.2 MB, free: 2.148 MB / 250.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.0006003/0.007328, allocations: 0.5401 MB / 272.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.007362, allocations: 8.031 kB / 272.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.007429, allocations: 28.8 kB / 272.8 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.007708, allocations: 236.3 kB / 273 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.007728, allocations: 4.375 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.007744, allocations: 8.375 kB / 273 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.008026, allocations: 163.6 kB / 273.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.008036, allocations: 3.938 kB / 273.2 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.008046, allocations: 4 kB / 273.2 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.008056, allocations: 4 kB / 273.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.008115, allocations: 27.91 kB / 273.2 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.008527, allocations: 366.6 kB / 273.6 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.008695, allocations: 144.4 kB / 273.7 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.008754, allocations: 54.73 kB / 273.8 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.008774, allocations: 8 kB / 273.8 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.008884, allocations: 76.92 kB / 273.9 MB, free: 272 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.008886, allocations: 0 / 273.9 MB, free: 272 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.000267/0.009153, allocations: 133.4 kB / 274 MB, free: 132 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.009225, allocations: 132.5 kB / 274.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.009452, allocations: 292.3 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.009467, allocations: 25.7 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.009546, allocations: 167.5 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.009571, allocations: 23.89 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.009615, allocations: 31.38 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.009752, allocations: 0.5001 MB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.009779, allocations: 11.94 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.038e-05/0.009829, allocations: 64.75 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.009888, allocations: 43.56 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009891, allocations: 0 / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.01001, allocations: 81.53 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01002, allocations: 4.062 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01002, allocations: 4 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01004, allocations: 4 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.0101, allocations: 15.98 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01011, allocations: 0 / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.01015, allocations: 7.953 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01016, allocations: 4 kB / 275.4 MB, free: 14.62 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,sample1.u) * 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 8.805e-05/0.01025, allocations: 172.4 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.01032, allocations: 69.53 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.01048, allocations: 103.6 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01048, allocations: 0 / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01048, allocations: 4 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01049, allocations: 0 / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.01063, allocations: 180.5 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.01064, allocations: 4 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.01066, allocations: 7.938 kB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01067, allocations: 7.984 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.01068, allocations: 4 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01068, allocations: 4 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01068, allocations: 0 / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.01086, allocations: 187.2 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.01091, allocations: 31.88 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.01093, allocations: 8.062 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.01098, allocations: 4 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.01101, allocations: 7.984 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01102, allocations: 4 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.01115, allocations: 205.1 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01115, allocations: 0 / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.0114, allocations: 27.94 kB / 276.4 MB, free: 13.51 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,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.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.0009708/0.01237, allocations: 413.2 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.01251, allocations: 59.55 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01251, allocations: 0 / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.01256, allocations: 31.61 kB / 276.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.01289, allocations: 69.8 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.01333, allocations: 324.9 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.01338, allocations: 83.97 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.01344, allocations: 21.83 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.01348, allocations: 20.5 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01348, allocations: 0 / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.005708/0.01919, allocations: 3.018 MB / 280.4 MB, free: 9.613 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.883212056942284]