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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001464, allocations: 95.36 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001989, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 8 kB / 306.6 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002325/0.1498, allocations: 1.188 MB / 359.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.1508, allocations: 419.3 kB / 359.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.1509, allocations: 0 / 359.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.1509, allocations: 0 / 359.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.151, allocations: 7.922 kB / 359.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1512, allocations: 27.91 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.1513, allocations: 19.97 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1515, allocations: 8 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.1516, allocations: 15.92 kB / 359.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.1516, allocations: 11.92 kB / 359.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.1516, allocations: 8 kB / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.1517, allocations: 0 / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1517, allocations: 4 kB / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.1517, allocations: 29.7 kB / 359.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.299e-05/0.1518, allocations: 31.88 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1518, allocations: 0 / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1518, allocations: 3.938 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1519, allocations: 4 kB / 359.8 MB, free: 12.13 MB / 302.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.0005921/0.1525, allocations: 343.5 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.1525, allocations: 12.03 kB / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1526, allocations: 7.906 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1528, allocations: 171.1 kB / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1528, allocations: 0 / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.1529, allocations: 11.98 kB / 360.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.1534, allocations: 151.2 kB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1534, allocations: 0 / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1535, allocations: 8 kB / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1535, allocations: 0 / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.1537, allocations: 47.95 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.1539, allocations: 165.5 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1542, allocations: 98.52 kB / 360.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1542, allocations: 0 / 360.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1543, allocations: 38.5 kB / 360.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1543, allocations: 0 / 360.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004572/0.1547, allocations: 125.9 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.1548, allocations: 51.41 kB / 361 MB, free: 10.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1549, allocations: 105.8 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.155, allocations: 25.7 kB / 361.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.1551, allocations: 88.12 kB / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.836e-06/0.1551, allocations: 4 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.1551, allocations: 0 / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1553, allocations: 314.8 kB / 361.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.1553, allocations: 11.98 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/0.1553, allocations: 27.38 kB / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.1554, allocations: 8 kB / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1554, allocations: 0 / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.713e-05/0.1555, allocations: 61.62 kB / 361.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1555, allocations: 4 kB / 361.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1555, allocations: 0 / 361.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.1555, allocations: 7.953 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.1556, allocations: 4 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1556, allocations: 7.938 kB / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.1557, allocations: 7.844 kB / 361.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1557, allocations: 0 / 361.7 MB, free: 10.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.1558, allocations: 117.8 kB / 361.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.156, allocations: 85.72 kB / 361.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.1561, allocations: 11.91 kB / 361.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1561, allocations: 3.953 kB / 361.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1561, allocations: 0 / 361.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1561, allocations: 0 / 361.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1563, allocations: 157.7 kB / 362.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1563, allocations: 4 kB / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.1564, allocations: 15.98 kB / 362.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1564, allocations: 3.938 kB / 362.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1564, allocations: 4 kB / 362.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1564, allocations: 0 / 362.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1564, allocations: 3.953 kB / 362.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1567, allocations: 113 kB / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.1568, allocations: 77.11 kB / 362.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1568, allocations: 11.98 kB / 362.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.1568, allocations: 4 kB / 362.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-06/0.1568, allocations: 0 / 362.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1569, allocations: 8 kB / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.392e-05/0.1569, allocations: 95.22 kB / 362.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1569, allocations: 0 / 362.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.1571, allocations: 4 kB / 362.4 MB, free: 9.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001908/0.1573, allocations: 95.25 kB / 362.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1575, allocations: 43.91 kB / 362.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1575, allocations: 0 / 362.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.1575, allocations: 0 / 362.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1579, allocations: 39.95 kB / 362.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.1583, allocations: 128.9 kB / 362.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.1588, allocations: 0.6809 MB / 363.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.539e-05/0.1588, allocations: 4 kB / 363.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.1588, allocations: 7.438 kB / 363.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1588, allocations: 0 / 363.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of Templates: time 0.003101/0.1619, allocations: 375.2 kB / 363.8 MB, free: 7.797 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches