Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00221/0.002211, allocations: 108.4 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003044/0.003044, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.751/2.751, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 47.81 kB / 300.6 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1659, allocations: 49.44 MB / 350.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.004921/0.1709, allocations: 1.53 MB / 351.6 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1721, allocations: 411 kB / 352 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.1722, allocations: 4 kB / 352 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.783e-05/0.1723, allocations: 0 / 352 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.1724, allocations: 3.938 kB / 352 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.1728, allocations: 23.97 kB / 352 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1729, allocations: 39.8 kB / 352.1 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1731, allocations: 8 kB / 352.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.1732, allocations: 15.92 kB / 352.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.1732, allocations: 15.92 kB / 352.1 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1733, allocations: 4 kB / 352.1 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.1733, allocations: 4 kB / 352.1 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.1734, allocations: 3.984 kB / 352.1 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.1734, allocations: 19.86 kB / 352.1 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1735, allocations: 27.97 kB / 352.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1736, allocations: 0 / 352.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1736, allocations: 0 / 352.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1736, allocations: 0 / 352.2 MB, free: 2.496 MB / 286.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.0006868/0.1743, allocations: 351.6 kB / 352.5 MB, free: 2.105 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1744, allocations: 16.03 kB / 352.5 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1744, allocations: 4.875 kB / 352.5 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1747, allocations: 184.3 kB / 352.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1747, allocations: 384 / 352.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1747, allocations: 4.312 kB / 352.7 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.1755, allocations: 147.6 kB / 352.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1755, allocations: 0 / 352.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1755, allocations: 0 / 352.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1755, allocations: 0 / 352.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.1758, allocations: 31.97 kB / 352.9 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.176, allocations: 161.6 kB / 353 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.1765, allocations: 86.45 kB / 353.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.1767, allocations: 36.91 kB / 353.2 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1768, allocations: 0 / 353.2 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.1768, allocations: 38.5 kB / 353.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.1768, allocations: 0 / 353.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005583/0.1774, allocations: 101.5 kB / 353.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.1775, allocations: 59.34 kB / 353.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1776, allocations: 101.9 kB / 353.5 MB, free: 1.004 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1777, allocations: 29.69 kB / 353.5 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.1778, allocations: 84.14 kB / 353.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.1778, allocations: 4 kB / 353.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.1778, allocations: 17.72 kB / 353.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.178, allocations: 314.8 kB / 353.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.1781, allocations: 3.984 kB / 353.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.1781, allocations: 31.61 kB / 353.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.106e-05/0.1782, allocations: 47.31 kB / 354 MB, free: 444 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1782, allocations: 0 / 354 MB, free: 444 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/0.1784, allocations: 53.62 kB / 354 MB, free: 384 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.1784, allocations: 7.938 kB / 354 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1784, allocations: 4 kB / 354 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1785, allocations: 0 / 354 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.1786, allocations: 7.938 kB / 354 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1786, allocations: 8.125 kB / 354.1 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.1786, allocations: 3.984 kB / 354.1 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1786, allocations: 4 kB / 354.1 MB, free: 348 kB / 286.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 0.0001124/0.1788, allocations: 109.8 kB / 354.2 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.1791, allocations: 81.5 kB / 354.3 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.1792, allocations: 3.906 kB / 354.3 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1792, allocations: 4 kB / 354.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1792, allocations: 4 kB / 354.3 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1792, allocations: 0 / 354.3 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1794, allocations: 161.7 kB / 354.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1795, allocations: 7.938 kB / 354.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1796, allocations: 15.92 kB / 354.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1796, allocations: 3.938 kB / 354.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1796, allocations: 0 / 354.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.1796, allocations: 4 kB / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1796, allocations: 0 / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.18, allocations: 97.09 kB / 354.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.1801, allocations: 88.94 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1801, allocations: 8 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.1802, allocations: 0 / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-06/0.1802, allocations: 4 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1803, allocations: 0 / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.306e-05/0.1803, allocations: 83.27 kB / 354.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1804, allocations: 4 kB / 354.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1807, allocations: 8 kB / 354.7 MB, free: 15.55 MB / 302.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.0001733/0.1809, allocations: 107.1 kB / 354.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.1812, allocations: 27.97 kB / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1812, allocations: 0 / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.1812, allocations: 4 kB / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.1818, allocations: 46.67 kB / 354.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.1823, allocations: 149 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.1827, allocations: 0.6848 MB / 355.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.1828, allocations: 7.438 kB / 355.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1828, allocations: 0 / 355.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Templates: time 0.003309/0.1861, allocations: 0.5992 MB / 356.4 MB, free: 13.87 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches