Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 120 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.825/1.825, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 59.91 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1524, allocations: 53.32 MB / 427.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.00452/0.1569, allocations: 1.902 MB / 429 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1597, allocations: 1.305 MB / 430.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1599, allocations: 4 kB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.1603, allocations: 71.66 kB / 430.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.1608, allocations: 131.4 kB / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008382/0.1616, allocations: 225.4 kB / 430.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.1619, allocations: 179.5 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1621, allocations: 25.53 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1622, allocations: 75.64 kB / 431 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1624, allocations: 87.59 kB / 431.1 MB, free: 480 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1624, allocations: 12 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.1626, allocations: 71.95 kB / 431.2 MB, free: 396 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.1627, allocations: 51.83 kB / 431.3 MB, free: 344 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.956e-05/0.1628, allocations: 79.41 kB / 431.3 MB, free: 264 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.1632, allocations: 246.9 kB / 431.6 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1632, allocations: 0 / 431.6 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1632, allocations: 0 / 431.6 MB, free: 16 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1632, allocations: 0 / 431.6 MB, free: 16 kB / 350.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.0009255/0.1642, allocations: 0.5348 MB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1642, allocations: 12.03 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.889e-05/0.1643, allocations: 28.8 kB / 432.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.1649, allocations: 299.7 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1649, allocations: 8.375 kB / 432.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1649, allocations: 4.375 kB / 432.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.1653, allocations: 159.9 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1653, allocations: 0 / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1653, allocations: 3.984 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1653, allocations: 0 / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1655, allocations: 43.91 kB / 432.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.1661, allocations: 386.4 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.1664, allocations: 115.8 kB / 433.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.1665, allocations: 46.56 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1665, allocations: 0 / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.1667, allocations: 79.38 kB / 433.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.1667, allocations: 0 / 433.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004605/0.1671, allocations: 157.6 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1673, allocations: 162.2 kB / 433.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.1677, allocations: 334.6 kB / 433.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1677, allocations: 29.7 kB / 433.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1678, allocations: 132.1 kB / 434.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1678, allocations: 19.97 kB / 434.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.1679, allocations: 29.95 kB / 434.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1681, allocations: 342.8 kB / 434.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.36e-05/0.1681, allocations: 24.05 kB / 434.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1683, allocations: 86.8 kB / 434.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.1685, allocations: 88.22 kB / 434.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1685, allocations: 0 / 434.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002498/0.1687, allocations: 121.5 kB / 434.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1687, allocations: 11.94 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1687, allocations: 0 / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1688, allocations: 4.125 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1689, allocations: 27.92 kB / 434.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1689, allocations: 4 kB / 434.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.169, allocations: 7.938 kB / 434.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.169, allocations: 4 kB / 434.8 MB, free: 12.41 MB / 366.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.0001647/0.1691, allocations: 161.8 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1692, allocations: 69.45 kB / 435.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.613e-05/0.1693, allocations: 33.75 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1693, allocations: 4 kB / 435.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1693, allocations: 0 / 435.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1693, allocations: 0 / 435.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1696, allocations: 241.5 kB / 435.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1696, allocations: 7.938 kB / 435.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.1696, allocations: 11.94 kB / 435.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1696, allocations: 3.984 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1697, allocations: 4 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1697, allocations: 4.062 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1697, allocations: 0 / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.17, allocations: 170.5 kB / 435.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1701, allocations: 113 kB / 435.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.1701, allocations: 7.984 kB / 435.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.1702, allocations: 4 kB / 435.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.1703, allocations: 7.984 kB / 435.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1703, allocations: 8 kB / 435.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.1706, allocations: 249.9 kB / 435.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1706, allocations: 0 / 435.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1709, allocations: 39.92 kB / 435.9 MB, free: 11.19 MB / 366.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001591/0.1724, allocations: 426.6 kB / 436.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.1727, allocations: 76.03 kB / 436.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.1727, allocations: 8 kB / 436.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/0.1728, allocations: 23.98 kB / 436.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.1733, allocations: 69.69 kB / 436.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.174, allocations: 372.6 kB / 436.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1744, allocations: 0.7438 MB / 437.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1745, allocations: 29.53 kB / 437.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.934e-05/0.1746, allocations: 19.44 kB / 437.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1746, allocations: 0 / 437.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of Templates: time 0.008085/0.1827, allocations: 2.904 MB / 440.6 MB, free: 6.633 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.511694594286382]