Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001882/0.001882, allocations: 107.5 kB / 20.44 MB, free: 1.203 MB / 14.72 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.002274/0.002274, allocations: 184 kB / 23.7 MB, free: 4.434 MB / 14.72 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.499/1.499, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 48.06 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2519, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003289/0.2552, allocations: 1.867 MB / 424.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.257, allocations: 1.009 MB / 425.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.2571, allocations: 3.938 kB / 425.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.2577, allocations: 159.5 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.258, allocations: 119.5 kB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.2585, allocations: 207.2 kB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.2588, allocations: 179.5 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2589, allocations: 25.52 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.259, allocations: 71.7 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.2591, allocations: 71.67 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.2591, allocations: 15.94 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.2593, allocations: 59.89 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.2594, allocations: 43.84 kB / 426.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.2594, allocations: 47.67 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.2597, allocations: 213.5 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2597, allocations: 4 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2597, allocations: 0 / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.2598, allocations: 0 / 427.1 MB, free: 10.38 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.0007258/0.2605, allocations: 442.8 kB / 427.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2605, allocations: 8.031 kB / 427.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.2606, allocations: 28.78 kB / 427.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.2609, allocations: 209.1 kB / 427.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2609, allocations: 8.375 kB / 427.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.2609, allocations: 12.12 kB / 427.8 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.2613, allocations: 141.9 kB / 428 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2613, allocations: 0 / 428 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2613, allocations: 0 / 428 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2613, allocations: 0 / 428 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.2614, allocations: 43.91 kB / 428 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.2619, allocations: 290.1 kB / 428.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.2621, allocations: 111.9 kB / 428.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.2622, allocations: 46.56 kB / 428.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2622, allocations: 11.92 kB / 428.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.2624, allocations: 71.33 kB / 428.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.2624, allocations: 0 / 428.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003718/0.2627, allocations: 145.5 kB / 428.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.2628, allocations: 111 kB / 428.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.2631, allocations: 260.9 kB / 429 MB, free: 8.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2631, allocations: 37.64 kB / 429.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.2632, allocations: 120.1 kB / 429.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.2632, allocations: 11.91 kB / 429.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.2633, allocations: 33.7 kB / 429.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2634, allocations: 330.8 kB / 429.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.2635, allocations: 19.98 kB / 429.6 MB, free: 7.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2636, allocations: 90.84 kB / 429.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2638, allocations: 80.5 kB / 429.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2638, allocations: 0 / 429.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002237/0.264, allocations: 121.5 kB / 429.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.264, allocations: 8 kB / 429.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.264, allocations: 0 / 429.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2641, allocations: 0 / 429.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.2641, allocations: 20.05 kB / 429.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2641, allocations: 4 kB / 429.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.2642, allocations: 11.89 kB / 429.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2642, allocations: 8 kB / 429.9 MB, free: 7.324 MB / 334.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.0001358/0.2644, allocations: 141.8 kB / 430 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.2644, allocations: 69.48 kB / 430.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.2647, allocations: 115.4 kB / 430.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2647, allocations: 0 / 430.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2647, allocations: 0 / 430.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2647, allocations: 8.062 kB / 430.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2649, allocations: 161.2 kB / 430.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2649, allocations: 0 / 430.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.2649, allocations: 7.938 kB / 430.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2649, allocations: 4 kB / 430.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2649, allocations: 3.984 kB / 430.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2649, allocations: 0 / 430.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2649, allocations: 7.938 kB / 430.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.2652, allocations: 158.6 kB / 430.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.2653, allocations: 39.91 kB / 430.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2653, allocations: 11.94 kB / 430.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.2654, allocations: 4 kB / 430.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2654, allocations: 11.97 kB / 430.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.2654, allocations: 4 kB / 430.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.2656, allocations: 196.5 kB / 430.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2656, allocations: 0 / 430.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.2659, allocations: 24 kB / 430.9 MB, free: 6.297 MB / 334.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.001648/0.2675, allocations: 460.8 kB / 431.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.2677, allocations: 79.78 kB / 431.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2677, allocations: 0 / 431.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.2678, allocations: 24 kB / 431.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2682, allocations: 65.55 kB / 431.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.2687, allocations: 309.5 kB / 431.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.2688, allocations: 127.6 kB / 431.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.697e-05/0.2689, allocations: 25.56 kB / 431.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.2689, allocations: 19.44 kB / 431.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2689, allocations: 0 / 431.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of Templates: time 0.00642/0.2754, allocations: 2.69 MB / 434.6 MB, free: 2.699 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.646744921803474]