Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.00191/0.00191, allocations: 117.9 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.002351/0.002351, allocations: 214.5 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.747/1.747, allocations: 230.2 MB / 254.5 MB, free: 15.44 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 59.89 kB / 373.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1435, allocations: 53.32 MB / 427.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003873/0.1474, allocations: 1.928 MB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1498, allocations: 1.332 MB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1499, allocations: 4 kB / 430.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.1503, allocations: 67.61 kB / 430.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.1507, allocations: 135.4 kB / 430.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.1514, allocations: 230.4 kB / 430.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.1517, allocations: 191.5 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1518, allocations: 29.59 kB / 431.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.152, allocations: 75.7 kB / 431.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1521, allocations: 91.59 kB / 431.2 MB, free: 464 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1521, allocations: 12 kB / 431.2 MB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1523, allocations: 75.89 kB / 431.3 MB, free: 376 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1524, allocations: 51.83 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1525, allocations: 83.41 kB / 431.4 MB, free: 240 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.1529, allocations: 254.8 kB / 431.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.153, allocations: 4 kB / 431.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.153, allocations: 0 / 431.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.153, allocations: 0 / 431.7 MB, free: 15.98 MB / 366.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.000901/0.1539, allocations: 0.5581 MB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1539, allocations: 8.031 kB / 432.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.154, allocations: 24.8 kB / 432.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.1545, allocations: 307.7 kB / 432.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1545, allocations: 8.375 kB / 432.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1545, allocations: 8.375 kB / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.1549, allocations: 186.5 kB / 432.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.155, allocations: 0 / 432.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.155, allocations: 0 / 432.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.155, allocations: 7.938 kB / 432.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1551, allocations: 43.95 kB / 432.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.1558, allocations: 403.2 kB / 433.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.156, allocations: 134.5 kB / 433.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1562, allocations: 59.36 kB / 433.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.1562, allocations: 7.984 kB / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.1564, allocations: 79.38 kB / 433.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.1564, allocations: 0 / 433.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004378/0.1568, allocations: 173.4 kB / 433.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.1569, allocations: 195.8 kB / 433.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.1573, allocations: 343.3 kB / 434.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1574, allocations: 29.7 kB / 434.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1575, allocations: 136.3 kB / 434.4 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1575, allocations: 19.84 kB / 434.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.1576, allocations: 41.66 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1577, allocations: 334.8 kB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.1578, allocations: 27.98 kB / 434.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.158, allocations: 104.6 kB / 434.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.1582, allocations: 109.9 kB / 435 MB, free: 12.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1582, allocations: 0 / 435 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002701/0.1584, allocations: 137.4 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1585, allocations: 10.03 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1585, allocations: 0 / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1585, allocations: 8.125 kB / 435.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1586, allocations: 27.92 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1586, allocations: 4 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-05/0.1587, allocations: 4 kB / 435.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1587, allocations: 8 kB / 435.2 MB, free: 12.11 MB / 366.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,table.y,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.0001627/0.1589, allocations: 153.8 kB / 435.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.159, allocations: 81.45 kB / 435.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.1591, allocations: 33.83 kB / 435.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1591, allocations: 0 / 435.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1591, allocations: 7.984 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1591, allocations: 3.938 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.1593, allocations: 253.4 kB / 435.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1593, allocations: 320 / 435.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.1594, allocations: 16 kB / 435.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1594, allocations: 0 / 435.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1594, allocations: 7.984 kB / 435.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1594, allocations: 0 / 435.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1594, allocations: 4 kB / 435.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.1598, allocations: 195.3 kB / 435.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.1599, allocations: 116.9 kB / 436 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1599, allocations: 8 kB / 436 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.16, allocations: 4 kB / 436 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.1601, allocations: 15.98 kB / 436.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1601, allocations: 4 kB / 436.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.1603, allocations: 249.9 kB / 436.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1603, allocations: 0 / 436.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1606, allocations: 35.94 kB / 436.3 MB, free: 10.83 MB / 366.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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (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.001623/0.1622, allocations: 420.9 kB / 436.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.1625, allocations: 95.77 kB / 436.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1625, allocations: 0 / 436.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.1626, allocations: 27.98 kB / 436.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.1631, allocations: 82.36 kB / 436.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.1638, allocations: 399.2 kB / 437.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1642, allocations: 0.7437 MB / 438.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.711e-05/0.1643, allocations: 33.52 kB / 438.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.1644, allocations: 27.44 kB / 438.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1644, allocations: 0 / 438.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of Templates: time 0.00757/0.1719, allocations: 3.102 MB / 441.2 MB, free: 6.012 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.332544635981321]