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.001624/0.001624, allocations: 115.9 kB / 17.7 MB, free: 5.309 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.001804/0.001804, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 49.8 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1539, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003122/0.1571, allocations: 1.463 MB / 353 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.1579, allocations: 416.4 kB / 353.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.158, allocations: 0 / 353.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.158, allocations: 7.922 kB / 353.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.1581, allocations: 3.938 kB / 353.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1584, allocations: 23.97 kB / 353.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1585, allocations: 47.8 kB / 353.5 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1587, allocations: 15.97 kB / 353.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.1587, allocations: 11.94 kB / 353.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1588, allocations: 19.92 kB / 353.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1588, allocations: 0 / 353.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.1588, allocations: 4 kB / 353.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.1589, allocations: 7.984 kB / 353.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.1589, allocations: 15.88 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.159, allocations: 39.88 kB / 353.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.159, allocations: 0 / 353.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1591, allocations: 8 kB / 353.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1591, allocations: 0 / 353.6 MB, free: 1.617 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.0005438/0.1596, allocations: 347.3 kB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1597, allocations: 8.031 kB / 353.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1597, allocations: 4.938 kB / 353.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.16, allocations: 180.2 kB / 354.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.16, allocations: 4.375 kB / 354.1 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.16, allocations: 4.375 kB / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.1605, allocations: 147.5 kB / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1605, allocations: 0 / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1605, allocations: 0 / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1605, allocations: 0 / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.1607, allocations: 47.83 kB / 354.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.1608, allocations: 165.6 kB / 354.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1611, allocations: 74.52 kB / 354.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.907e-05/0.1612, allocations: 40.91 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1612, allocations: 0 / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1613, allocations: 34.5 kB / 354.6 MB, free: 424 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1613, allocations: 4 kB / 354.6 MB, free: 420 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003316/0.1616, allocations: 97.48 kB / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1617, allocations: 63.34 kB / 354.8 MB, free: 240 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.1618, allocations: 105.8 kB / 354.9 MB, free: 124 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1618, allocations: 25.7 kB / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.1618, allocations: 84.14 kB / 355 MB, free: 4 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/0.1618, allocations: 3.984 kB / 355 MB, free: 0 / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.1619, allocations: 17.77 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.162, allocations: 314.8 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.162, allocations: 0 / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.1621, allocations: 35.38 kB / 355.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.1621, allocations: 35.38 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1621, allocations: 0 / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.94e-05/0.1622, allocations: 61.56 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1622, allocations: 7.938 kB / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1622, allocations: 4 kB / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1622, allocations: 0 / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.1623, allocations: 4 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1623, allocations: 4 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.1624, allocations: 4 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1624, allocations: 4.281 kB / 355.5 MB, free: 15.47 MB / 302.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 7.796e-05/0.1624, allocations: 117.9 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.1626, allocations: 89.42 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.1627, allocations: 11.89 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1627, allocations: 0 / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1627, allocations: 4 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1627, allocations: 0 / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.1628, allocations: 157.7 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1628, allocations: 0 / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.1629, allocations: 8 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.1629, allocations: 11.92 kB / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1629, allocations: 0 / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1629, allocations: 0 / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1629, allocations: 4 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1631, allocations: 97.03 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1632, allocations: 84.95 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1632, allocations: 11.94 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.1633, allocations: 7.984 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-06/0.1633, allocations: 3.938 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1633, allocations: 4 kB / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.444e-05/0.1634, allocations: 87.27 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1634, allocations: 0 / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001879/0.1636, allocations: 4 kB / 356.2 MB, free: 14.67 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.0001178/0.1637, allocations: 95.78 kB / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1638, allocations: 39.91 kB / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1639, allocations: 0 / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1639, allocations: 0 / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1642, allocations: 32.02 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.1645, allocations: 117.5 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1647, allocations: 0.6848 MB / 357.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.56e-05/0.1648, allocations: 0 / 357.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.1648, allocations: 11.44 kB / 357.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1648, allocations: 0 / 357.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Templates: time 0.002695/0.1675, allocations: 409 kB / 357.5 MB, free: 13.23 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 -s cvode -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