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.0009632/0.0009632, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001439/0.001439, allocations: 140.4 kB / 24.97 MB, free: 9.344 MB / 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.046/1.046, allocations: 173.4 MB / 201.5 MB, free: 9.352 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.312e-06/1.312e-06, allocations: 0 / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.04e-05, allocations: 6.25 kB / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002355/0.002376, allocations: 1.948 MB / 270 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.003599, allocations: 1.056 MB / 271.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.00371, allocations: 7.938 kB / 271.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.004217, allocations: 167.3 kB / 271.3 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.00442, allocations: 115.5 kB / 271.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.00475, allocations: 211.2 kB / 271.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.005207, allocations: 183.5 kB / 271.8 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.00531, allocations: 37.72 kB / 271.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.00542, allocations: 107.7 kB / 271.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.005513, allocations: 67.8 kB / 272 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.005533, allocations: 8 kB / 272 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.996e-05/0.005633, allocations: 55.95 kB / 272 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.005713, allocations: 51.78 kB / 272.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.005764, allocations: 39.84 kB / 272.1 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.005985, allocations: 159.3 kB / 272.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005987, allocations: 0 / 272.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005988, allocations: 7.938 kB / 272.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005993, allocations: 0 / 272.3 MB, free: 2.52 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.0005294/0.006522, allocations: 0.5439 MB / 272.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.006555, allocations: 16.02 kB / 272.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.006608, allocations: 28.8 kB / 272.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.006856, allocations: 224.4 kB / 273.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.006875, allocations: 4.375 kB / 273.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.006894, allocations: 16.3 kB / 273.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.007164, allocations: 167.8 kB / 273.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.007172, allocations: 3.938 kB / 273.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.007182, allocations: 4 kB / 273.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.007189, allocations: 0 / 273.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.007237, allocations: 23.92 kB / 273.3 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.007573, allocations: 362.7 kB / 273.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.007724, allocations: 144.4 kB / 273.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.349e-05/0.007798, allocations: 58.73 kB / 273.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.007815, allocations: 0 / 273.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.007942, allocations: 80.97 kB / 273.9 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.007944, allocations: 0 / 273.9 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002266/0.008171, allocations: 129.4 kB / 274.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.008225, allocations: 136.5 kB / 274.2 MB, free: 348 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.008397, allocations: 284.7 kB / 274.5 MB, free: 44 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.008424, allocations: 45.78 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.008494, allocations: 167.1 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.008514, allocations: 15.91 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.008554, allocations: 31.36 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.008661, allocations: 0.4962 MB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.008682, allocations: 8 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.008725, allocations: 72.59 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.008773, allocations: 47.55 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.008776, allocations: 4 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.283e-05/0.008859, allocations: 81.56 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.008872, allocations: 8 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008876, allocations: 0 / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.008887, allocations: 0 / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.008943, allocations: 8 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.008949, allocations: 4 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.008982, allocations: 11.94 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.008986, allocations: 4 kB / 275.5 MB, free: 14.98 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 7.006e-05/0.009056, allocations: 164.5 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.009117, allocations: 85.48 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.009238, allocations: 91.39 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.009242, allocations: 7.984 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009245, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.009249, allocations: 4 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.009366, allocations: 180.5 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.009367, allocations: 0 / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.009388, allocations: 8 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.00939, allocations: 0 / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.009398, allocations: 7.938 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.0094, allocations: 4.094 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0094, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.009547, allocations: 187.2 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.009591, allocations: 31.88 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.009611, allocations: 8.062 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.009645, allocations: 7.984 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.009678, allocations: 11.94 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.009688, allocations: 4 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.009792, allocations: 201.1 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009793, allocations: 0 / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.009954, allocations: 39.92 kB / 276.5 MB, free: 13.86 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.0008826/0.01084, allocations: 394.3 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01096, allocations: 55.59 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01096, allocations: 3.938 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.01099, allocations: 31.67 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.01126, allocations: 77.72 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.01165, allocations: 324.9 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.363e-05/0.01169, allocations: 79.92 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.01173, allocations: 17.83 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.01177, allocations: 28.48 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01177, allocations: 0 / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Templates: time 0.004726/0.0165, allocations: 2.803 MB / 280.3 MB, free: 10.19 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.879164380952716]