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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 197.1 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 225.6 MB / 251.4 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] 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 0.001622/0.001622, allocations: 47.92 kB / 369.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2515, allocations: 52.14 MB / 421.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00383/0.2554, allocations: 1.927 MB / 423.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.2574, allocations: 1.099 MB / 424.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.2575, allocations: 7.938 kB / 424.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.2582, allocations: 155.5 kB / 424.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.2586, allocations: 122.9 kB / 424.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.2592, allocations: 203.4 kB / 424.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.2594, allocations: 183.5 kB / 425 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2596, allocations: 25.61 kB / 425 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.2597, allocations: 83.62 kB / 425.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.2598, allocations: 83.61 kB / 425.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.2598, allocations: 8 kB / 425.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.26, allocations: 63.97 kB / 425.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.2601, allocations: 47.77 kB / 425.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.2602, allocations: 67.55 kB / 425.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.2605, allocations: 220.3 kB / 425.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2605, allocations: 4 kB / 425.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2605, allocations: 3.938 kB / 425.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.2605, allocations: 0 / 425.6 MB, free: 10.84 MB / 334.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.0008739/0.2614, allocations: 0.5232 MB / 426.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2615, allocations: 11.89 kB / 426.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.2615, allocations: 28.78 kB / 426.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.2619, allocations: 275 kB / 426.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2619, allocations: 4.375 kB / 426.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.2619, allocations: 12.12 kB / 426.4 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.2623, allocations: 175.4 kB / 426.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2624, allocations: 4 kB / 426.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2624, allocations: 0 / 426.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2624, allocations: 0 / 426.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2625, allocations: 47.89 kB / 426.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.263, allocations: 371.3 kB / 427 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.2633, allocations: 134.5 kB / 427.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.2634, allocations: 47.42 kB / 427.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.2634, allocations: 4 kB / 427.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.2636, allocations: 83.31 kB / 427.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.2636, allocations: 0 / 427.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004285/0.264, allocations: 161.4 kB / 427.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.2642, allocations: 158.2 kB / 427.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2645, allocations: 269.4 kB / 427.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.2645, allocations: 37.69 kB / 427.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2646, allocations: 116.4 kB / 428 MB, free: 8.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.2646, allocations: 19.84 kB / 428 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.2647, allocations: 37.66 kB / 428 MB, free: 8.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2648, allocations: 330.8 kB / 428.4 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.2649, allocations: 19.98 kB / 428.4 MB, free: 7.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.265, allocations: 94.27 kB / 428.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2652, allocations: 94.23 kB / 428.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2652, allocations: 0 / 428.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002352/0.2654, allocations: 129.4 kB / 428.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2654, allocations: 11.94 kB / 428.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2654, allocations: 0 / 428.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2655, allocations: 4 kB / 428.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.2656, allocations: 16.19 kB / 428.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2656, allocations: 0 / 428.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.2656, allocations: 15.88 kB / 428.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2656, allocations: 8 kB / 428.7 MB, free: 7.281 MB / 334.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 0.0001478/0.2658, allocations: 149.7 kB / 428.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2659, allocations: 73.53 kB / 429 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.2661, allocations: 115.4 kB / 429.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2662, allocations: 4 kB / 429.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2662, allocations: 3.938 kB / 429.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2662, allocations: 3.938 kB / 429.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.2664, allocations: 233.6 kB / 429.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2664, allocations: 3.984 kB / 429.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.2664, allocations: 11.94 kB / 429.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2664, allocations: 0 / 429.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2665, allocations: 4 kB / 429.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2665, allocations: 128 / 429.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2665, allocations: 4 kB / 429.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.2667, allocations: 179.4 kB / 429.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2669, allocations: 109 kB / 429.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.2669, allocations: 3.984 kB / 429.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.267, allocations: 4 kB / 429.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.267, allocations: 12 kB / 429.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.267, allocations: 11.92 kB / 429.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.2672, allocations: 196.5 kB / 429.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2672, allocations: 0 / 429.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.2675, allocations: 35.88 kB / 429.9 MB, free: 6.027 MB / 334.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001509/0.269, allocations: 415.9 kB / 430.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.2693, allocations: 75.84 kB / 430.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2693, allocations: 0 / 430.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.2693, allocations: 24 kB / 430.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.2698, allocations: 77.92 kB / 430.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006577/0.2705, allocations: 367.7 kB / 430.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.2709, allocations: 0.7358 MB / 431.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.2709, allocations: 19.44 kB / 431.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2709, allocations: 3.938 kB / 431.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of Templates: time 0.00534/0.2763, allocations: 2.806 MB / 434.4 MB, free: 1.633 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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