Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.002002/0.002002, allocations: 113 kB / 19.04 MB, free: 3.254 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.00224/0.00224, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.572/1.572, allocations: 225.6 MB / 250.8 MB, free: 13.35 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 51.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3391, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003968/0.343, allocations: 1.909 MB / 422.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3452, allocations: 1.169 MB / 423.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3454, allocations: 4 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.3457, allocations: 67.66 kB / 424 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.346, allocations: 91.58 kB / 424.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.3468, allocations: 258.8 kB / 424.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.3471, allocations: 163.5 kB / 424.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3473, allocations: 17.55 kB / 424.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3474, allocations: 83.62 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3476, allocations: 79.67 kB / 424.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.3476, allocations: 8 kB / 424.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3478, allocations: 75.88 kB / 424.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3479, allocations: 47.84 kB / 424.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.348, allocations: 75.47 kB / 424.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.3484, allocations: 240.3 kB / 425.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.3484, allocations: 0 / 425.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3484, allocations: 0 / 425.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3484, allocations: 3.938 kB / 425.1 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009736/0.3494, allocations: 0.5426 MB / 425.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3495, allocations: 15.89 kB / 425.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.3495, allocations: 20.8 kB / 425.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.3501, allocations: 287.8 kB / 426 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3501, allocations: 8.375 kB / 426 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3501, allocations: 7.938 kB / 426 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.3506, allocations: 163.5 kB / 426.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3506, allocations: 0 / 426.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3506, allocations: 8 kB / 426.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3506, allocations: 0 / 426.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.3507, allocations: 35.91 kB / 426.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.3514, allocations: 382.4 kB / 426.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.3517, allocations: 119.9 kB / 426.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3518, allocations: 42.56 kB / 426.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3518, allocations: 4 kB / 426.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.352, allocations: 87.27 kB / 426.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.352, allocations: 0 / 426.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005115/0.3526, allocations: 153.4 kB / 427 MB, free: 8.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.3527, allocations: 170.3 kB / 427.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.3531, allocations: 330.6 kB / 427.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.3532, allocations: 29.7 kB / 427.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3533, allocations: 124.1 kB / 427.6 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3533, allocations: 15.89 kB / 427.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.3534, allocations: 29.67 kB / 427.7 MB, free: 8.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.3536, allocations: 334.8 kB / 428 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.3537, allocations: 23.98 kB / 428 MB, free: 7.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.3539, allocations: 86.84 kB / 428.1 MB, free: 7.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3541, allocations: 84.22 kB / 428.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3541, allocations: 4 kB / 428.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002516/0.3543, allocations: 121.5 kB / 428.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3543, allocations: 4 kB / 428.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3543, allocations: 4 kB / 428.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3544, allocations: 4.031 kB / 428.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3545, allocations: 19.98 kB / 428.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3545, allocations: 3.938 kB / 428.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.544e-05/0.3546, allocations: 19.95 kB / 428.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3546, allocations: 7.984 kB / 428.4 MB, free: 7.258 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,table.y,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.0001677/0.3548, allocations: 158.1 kB / 428.5 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3549, allocations: 69.48 kB / 428.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.3552, allocations: 115.4 kB / 428.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3552, allocations: 4 kB / 428.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3552, allocations: 4.062 kB / 428.7 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3552, allocations: 3.938 kB / 428.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3555, allocations: 245.6 kB / 428.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3555, allocations: 0 / 428.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.3555, allocations: 15.94 kB / 429 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3555, allocations: 0 / 429 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3556, allocations: 8 kB / 429 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3556, allocations: 0 / 429 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3556, allocations: 3.984 kB / 429 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.3559, allocations: 166.6 kB / 429.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.356, allocations: 112.9 kB / 429.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.356, allocations: 4 kB / 429.2 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.3561, allocations: 8.078 kB / 429.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.3562, allocations: 15.88 kB / 429.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3562, allocations: 4 kB / 429.3 MB, free: 6.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.3565, allocations: 241.9 kB / 429.5 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3565, allocations: 4 kB / 429.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3567, allocations: 31.94 kB / 429.5 MB, free: 5.953 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,table.y,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 (9): * Single equations (assignments): 7 * 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.00173/0.3585, allocations: 420.4 kB / 430 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.3587, allocations: 79.72 kB / 430 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3587, allocations: 0 / 430 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.3588, allocations: 32.23 kB / 430.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3593, allocations: 60.48 kB / 430.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.36, allocations: 364.7 kB / 430.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.3606, allocations: 0.7477 MB / 431.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.3607, allocations: 33.5 kB / 431.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.3608, allocations: 23.44 kB / 431.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3608, allocations: 0 / 431.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of Templates: time 0.007961/0.3687, allocations: 2.898 MB / 434.2 MB, free: 1.438 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 5.04094769526273]