Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001594/0.001594, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001616/0.001616, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.709/1.709, 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.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 67.88 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1575, allocations: 53.33 MB / 427.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003229/0.1607, allocations: 1.488 MB / 428.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.1616, allocations: 454.9 kB / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.1617, allocations: 0 / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.1617, allocations: 3.938 kB / 429.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.1618, allocations: 3.938 kB / 429.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.162, allocations: 27.91 kB / 429.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1621, allocations: 35.86 kB / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1622, allocations: 11.98 kB / 429.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.102e-05/0.1623, allocations: 15.92 kB / 429.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1624, allocations: 15.92 kB / 429.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1624, allocations: 4 kB / 429.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1624, allocations: 8 kB / 429.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.1624, allocations: 11.92 kB / 429.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.1625, allocations: 11.94 kB / 429.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.1626, allocations: 35.83 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1626, allocations: 3.938 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1626, allocations: 0 / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1626, allocations: 0 / 429.3 MB, free: 2.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005598/0.1632, allocations: 354.1 kB / 429.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1632, allocations: 12.03 kB / 429.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1632, allocations: 12.88 kB / 429.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1635, allocations: 180.2 kB / 429.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1635, allocations: 384 / 429.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1635, allocations: 8.375 kB / 429.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.1641, allocations: 135.6 kB / 430 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1641, allocations: 0 / 430 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1641, allocations: 8 kB / 430 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.1641, allocations: 0 / 430 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1643, allocations: 39.91 kB / 430 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.1645, allocations: 157.7 kB / 430.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.1648, allocations: 78.52 kB / 430.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1649, allocations: 32.91 kB / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.165, allocations: 0 / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.165, allocations: 38.5 kB / 430.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.165, allocations: 4 kB / 430.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004076/0.1654, allocations: 97.56 kB / 430.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.1655, allocations: 55.59 kB / 430.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1656, allocations: 109.8 kB / 430.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1656, allocations: 29.69 kB / 430.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.1657, allocations: 80.14 kB / 430.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.1657, allocations: 0 / 430.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.1657, allocations: 21.72 kB / 430.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1659, allocations: 318.8 kB / 431 MB, free: 396 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.1659, allocations: 3.984 kB / 431 MB, free: 392 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.981e-05/0.166, allocations: 27.42 kB / 431 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.166, allocations: 39.38 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.166, allocations: 0 / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.1662, allocations: 65.45 kB / 431.1 MB, free: 228 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1662, allocations: 7.938 kB / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1662, allocations: 4 kB / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.1662, allocations: 0 / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.1663, allocations: 8.062 kB / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1663, allocations: 8 kB / 431.2 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.1663, allocations: 7.922 kB / 431.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1663, allocations: 8 kB / 431.2 MB, free: 184 kB / 350.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: 0 () * 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 9.01e-05/0.1664, allocations: 105.8 kB / 431.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.1667, allocations: 85.56 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.1667, allocations: 7.906 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1667, allocations: 4 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1667, allocations: 4 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1667, allocations: 0 / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1669, allocations: 157.7 kB / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1669, allocations: 0 / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.1669, allocations: 11.98 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.167, allocations: 3.938 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.167, allocations: 0 / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.167, allocations: 4 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.167, allocations: 0 / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.1672, allocations: 101.1 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.1673, allocations: 88.98 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1673, allocations: 7.938 kB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.506e-05/0.1673, allocations: 4 kB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-06/0.1674, allocations: 4 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-06/0.1674, allocations: 0 / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.623e-05/0.1674, allocations: 87.27 kB / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1674, allocations: 4 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1676, allocations: 4 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001646/0.1678, allocations: 95.25 kB / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.168, allocations: 39.91 kB / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.168, allocations: 0 / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.168, allocations: 0 / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1684, allocations: 40.19 kB / 432 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.1688, allocations: 117.6 kB / 432.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.1692, allocations: 0.6807 MB / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.886e-05/0.1692, allocations: 0 / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.1693, allocations: 7.438 kB / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1693, allocations: 0 / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Templates: time 0.003164/0.1724, allocations: 432 kB / 433.3 MB, free: 13.94 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.050444255582988]