Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.002002/0.002002, allocations: 114 kB / 18.46 MB, free: 4.621 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.002306/0.002306, allocations: 208.3 kB / 21.41 MB, free: 1.668 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.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 47.94 kB / 374.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1573, allocations: 53.34 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.005077/0.1624, allocations: 1.521 MB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.163, allocations: 147.5 kB / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1631, allocations: 0 / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.371e-05/0.1632, allocations: 3.938 kB / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1633, allocations: 7.922 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.1638, allocations: 43.84 kB / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1639, allocations: 35.91 kB / 429.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.164, allocations: 8 kB / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.1641, allocations: 15.92 kB / 429.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.1642, allocations: 23.8 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1642, allocations: 0 / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-05/0.1642, allocations: 4 kB / 429.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.1643, allocations: 8 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.1643, allocations: 23.81 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1645, allocations: 51.73 kB / 429.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1645, allocations: 0 / 429.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1645, allocations: 4 kB / 429.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1645, allocations: 0 / 429.4 MB, free: 2.379 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007392/0.1653, allocations: 371.1 kB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1653, allocations: 8.031 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.1654, allocations: 8.891 kB / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.1658, allocations: 206.8 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1659, allocations: 4.375 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1659, allocations: 8.375 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.1663, allocations: 109.6 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1663, allocations: 192 / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.1663, allocations: 11.92 kB / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1663, allocations: 0 / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1665, allocations: 23.92 kB / 430.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.167, allocations: 257.8 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.1673, allocations: 138.2 kB / 430.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1675, allocations: 33.77 kB / 430.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1675, allocations: 0 / 430.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.1675, allocations: 34.56 kB / 430.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/0.1675, allocations: 0 / 430.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004654/0.168, allocations: 77.56 kB / 430.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.1681, allocations: 81.23 kB / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1682, allocations: 134.1 kB / 430.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1683, allocations: 25.7 kB / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.1683, allocations: 88.12 kB / 431 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.1683, allocations: 7.953 kB / 431 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.1684, allocations: 17.72 kB / 431 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1686, allocations: 318.8 kB / 431.3 MB, free: 188 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.1686, allocations: 11.94 kB / 431.3 MB, free: 176 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.1687, allocations: 35.36 kB / 431.3 MB, free: 128 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.723e-05/0.1688, allocations: 51.36 kB / 431.4 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1688, allocations: 7.938 kB / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001648/0.169, allocations: 61.61 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.169, allocations: 8 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.169, allocations: 0 / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.169, allocations: 0 / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.1691, allocations: 11.94 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1691, allocations: 3.984 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.1691, allocations: 7.953 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.1691, allocations: 8.125 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001024/0.1692, allocations: 125.7 kB / 431.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.1693, allocations: 41.7 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.1694, allocations: 12.23 kB / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1694, allocations: 4 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1694, allocations: 0 / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1694, allocations: 0 / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1696, allocations: 173.5 kB / 431.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.1696, allocations: 4 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.1696, allocations: 8 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1696, allocations: 4 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1697, allocations: 0 / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1697, allocations: 3.984 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1697, allocations: 4 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1699, allocations: 172.5 kB / 432 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.1699, allocations: 93.09 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.17, allocations: 3.984 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.17, allocations: 4 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1701, allocations: 0 / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1701, allocations: 0 / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.244e-05/0.1701, allocations: 109.3 kB / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1701, allocations: 0 / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1704, allocations: 4 kB / 432.2 MB, free: 15.09 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000141/0.1705, allocations: 107.2 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.1707, allocations: 31.92 kB / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1707, allocations: 3.938 kB / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.1707, allocations: 4 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.171, allocations: 30.08 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.1714, allocations: 176.4 kB / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1718, allocations: 0.7001 MB / 433.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.1718, allocations: 11.44 kB / 433.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1718, allocations: 0 / 433.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Templates: time 0.002279/0.1741, allocations: 0.6874 MB / 434 MB, free: 13.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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: 6.887465186009649]