Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001987/0.001987, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002512/0.002512, allocations: 209 kB / 23.73 MB, free: 4.523 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 43.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2543, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003485/0.2578, allocations: 1.887 MB / 433.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.26, allocations: 1.153 MB / 434.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.2602, allocations: 7.938 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.2608, allocations: 151.5 kB / 434.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.2613, allocations: 155.4 kB / 434.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.2618, allocations: 171.5 kB / 435.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.262, allocations: 199.4 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2622, allocations: 25.53 kB / 435.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2623, allocations: 79.7 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2624, allocations: 83.61 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.2624, allocations: 8 kB / 435.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.2626, allocations: 59.89 kB / 435.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.2627, allocations: 43.84 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.2628, allocations: 47.67 kB / 435.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.2631, allocations: 225.4 kB / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2631, allocations: 4 kB / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2631, allocations: 0 / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2631, allocations: 0 / 435.8 MB, free: 2.422 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007674/0.2639, allocations: 450.7 kB / 436.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2639, allocations: 8.031 kB / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.264, allocations: 20.8 kB / 436.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.2643, allocations: 213.1 kB / 436.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2644, allocations: 4.375 kB / 436.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.2644, allocations: 16.12 kB / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.2647, allocations: 148.8 kB / 436.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2647, allocations: 0 / 436.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2647, allocations: 3.984 kB / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2648, allocations: 0 / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.2649, allocations: 39.92 kB / 436.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.2653, allocations: 294.1 kB / 437 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.2656, allocations: 107.9 kB / 437.1 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.2657, allocations: 46.5 kB / 437.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.2657, allocations: 4 kB / 437.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.2659, allocations: 71.33 kB / 437.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2659, allocations: 0 / 437.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004001/0.2663, allocations: 153.4 kB / 437.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.2664, allocations: 115 kB / 437.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.2667, allocations: 273 kB / 437.8 MB, free: 300 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.2667, allocations: 29.7 kB / 437.8 MB, free: 264 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2668, allocations: 116.1 kB / 437.9 MB, free: 144 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.2669, allocations: 23.83 kB / 437.9 MB, free: 120 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.2669, allocations: 29.66 kB / 438 MB, free: 84 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2671, allocations: 334.8 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.2672, allocations: 23.98 kB / 438.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.2673, allocations: 90.78 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.2674, allocations: 80.25 kB / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2674, allocations: 256 / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002408/0.2677, allocations: 125.5 kB / 438.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2677, allocations: 4 kB / 438.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2677, allocations: 4 kB / 438.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2677, allocations: 0 / 438.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.2678, allocations: 20.11 kB / 438.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2678, allocations: 7.922 kB / 438.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.2679, allocations: 7.953 kB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2679, allocations: 4 kB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.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 (11): * Single equations (assignments): 11 * 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.0001534/0.2681, allocations: 150.5 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.2681, allocations: 65.53 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.2684, allocations: 115.4 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2684, allocations: 4 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2684, allocations: 64 / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2684, allocations: 4 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2686, allocations: 169.2 kB / 439.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2686, allocations: 0 / 439.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.2686, allocations: 7.938 kB / 439.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.2687, allocations: 7.984 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2687, allocations: 0 / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.2687, allocations: 4 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2687, allocations: 0 / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.2689, allocations: 166.5 kB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.269, allocations: 35.77 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.2691, allocations: 8 kB / 439.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.2691, allocations: 8 kB / 439.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.2692, allocations: 3.984 kB / 439.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.2692, allocations: 4 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.2694, allocations: 204.5 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2694, allocations: 0 / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.2697, allocations: 35.92 kB / 439.6 MB, free: 14.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (10): * Single equations (assignments): 8 * 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.001652/0.2713, allocations: 440.4 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.2716, allocations: 79.78 kB / 440.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2716, allocations: 0 / 440.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.2716, allocations: 27.98 kB / 440.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.2721, allocations: 67.39 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.2727, allocations: 321.7 kB / 440.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2728, allocations: 119.9 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.443e-05/0.2729, allocations: 29.61 kB / 440.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.2729, allocations: 15.44 kB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2729, allocations: 3.938 kB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of Templates: time 0.006784/0.2797, allocations: 2.756 MB / 443.5 MB, free: 10.62 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.742618198972195]