Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001613/0.001613, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001837/0.001837, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.768/1.768, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 51.91 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1495, allocations: 53.32 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003775/0.1533, allocations: 1.513 MB / 428.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006399/0.1539, allocations: 143.5 kB / 428.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1541, allocations: 4 kB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.666e-05/0.1542, allocations: 3.938 kB / 428.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.1544, allocations: 7.922 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1548, allocations: 39.91 kB / 428.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1549, allocations: 27.92 kB / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1551, allocations: 11.98 kB / 428.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.446e-05/0.1552, allocations: 11.94 kB / 428.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.1552, allocations: 7.938 kB / 428.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1553, allocations: 4 kB / 428.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.1553, allocations: 0 / 428.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.1554, allocations: 15.92 kB / 428.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.1554, allocations: 15.88 kB / 428.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1556, allocations: 55.62 kB / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1556, allocations: 0 / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1556, allocations: 0 / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.1556, allocations: 4 kB / 428.7 MB, free: 2.414 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007995/0.1564, allocations: 359.2 kB / 429 MB, free: 2.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.1565, allocations: 12.03 kB / 429 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.1566, allocations: 8.891 kB / 429 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.1569, allocations: 198.4 kB / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1569, allocations: 384 / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1569, allocations: 4.375 kB / 429.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.1573, allocations: 93.61 kB / 429.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1573, allocations: 192 / 429.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1573, allocations: 3.938 kB / 429.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1573, allocations: 0 / 429.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.1574, allocations: 19.92 kB / 429.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1579, allocations: 257.8 kB / 429.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.158, allocations: 49.08 kB / 429.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.1581, allocations: 17.78 kB / 429.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.1581, allocations: 0 / 429.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.1582, allocations: 38.56 kB / 429.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1582, allocations: 0 / 429.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003331/0.1585, allocations: 61.61 kB / 429.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.1586, allocations: 77.11 kB / 429.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1588, allocations: 138.3 kB / 430 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1588, allocations: 29.7 kB / 430 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.1589, allocations: 92.06 kB / 430.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.1589, allocations: 0 / 430.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.159, allocations: 17.72 kB / 430.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1591, allocations: 314.8 kB / 430.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.1592, allocations: 7.984 kB / 430.4 MB, free: 408 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.1592, allocations: 21.66 kB / 430.4 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.1593, allocations: 25.77 kB / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1593, allocations: 4 kB / 430.5 MB, free: 344 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001192/0.1594, allocations: 57.52 kB / 430.5 MB, free: 280 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1594, allocations: 8 kB / 430.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1594, allocations: 0 / 430.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1595, allocations: 4.047 kB / 430.5 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.159e-05/0.1595, allocations: 8 kB / 430.5 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1595, allocations: 0 / 430.5 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.1596, allocations: 4 kB / 430.5 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1596, allocations: 0 / 430.5 MB, free: 256 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001225/0.1597, allocations: 125.7 kB / 430.7 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.1598, allocations: 41.59 kB / 430.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.1598, allocations: 11.88 kB / 430.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1598, allocations: 0 / 430.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1598, allocations: 4.031 kB / 430.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1598, allocations: 0 / 430.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.16, allocations: 165.6 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.16, allocations: 4 kB / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.1601, allocations: 15.94 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1601, allocations: 3.984 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1601, allocations: 0 / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1601, allocations: 0 / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1601, allocations: 0 / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1603, allocations: 164.3 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.132e-05/0.1604, allocations: 93.05 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1604, allocations: 0 / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.1604, allocations: 4 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.1605, allocations: 3.984 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1605, allocations: 3.938 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.1606, allocations: 109 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1606, allocations: 0 / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.1608, allocations: 4 kB / 431.3 MB, free: 15.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001236/0.1609, allocations: 95.78 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1611, allocations: 19.98 kB / 431.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1611, allocations: 0 / 431.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.1611, allocations: 12.05 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1614, allocations: 20.03 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.1618, allocations: 138.4 kB / 431.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1622, allocations: 0.6924 MB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.051e-05/0.1622, allocations: 0 / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.1623, allocations: 11.44 kB / 432.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1623, allocations: 0 / 432.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Templates: time 0.003726/0.166, allocations: 450.6 kB / 432.7 MB, free: 13.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.002041894942522]