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.001315/0.001315, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.81 kB / 306.3 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 50.54 MB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003412/0.1472, allocations: 1.55 MB / 358.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.1482, allocations: 439 kB / 358.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.264e-05/0.1483, allocations: 3.938 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.477e-05/0.1483, allocations: 0 / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.1485, allocations: 11.92 kB / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.1488, allocations: 19.98 kB / 358.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.924e-05/0.1489, allocations: 39.92 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.149, allocations: 15.91 kB / 358.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.1491, allocations: 15.92 kB / 358.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.1492, allocations: 15.92 kB / 358.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1492, allocations: 4 kB / 358.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.1492, allocations: 0 / 358.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.1492, allocations: 8 kB / 358.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1493, allocations: 15.88 kB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1494, allocations: 27.88 kB / 358.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.1494, allocations: 8 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1494, allocations: 0 / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1495, allocations: 0 / 359 MB, free: 12.32 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.000725/0.1502, allocations: 358 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.1502, allocations: 8.031 kB / 359.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1503, allocations: 4.938 kB / 359.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1506, allocations: 172.3 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1506, allocations: 8.375 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1506, allocations: 384 / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.1511, allocations: 143.5 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1511, allocations: 0 / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1512, allocations: 0 / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1512, allocations: 0 / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.1513, allocations: 39.97 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1515, allocations: 161.6 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1518, allocations: 82.45 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1519, allocations: 36.91 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.152, allocations: 0 / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.152, allocations: 42.44 kB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.152, allocations: 0 / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003649/0.1524, allocations: 97.53 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.1525, allocations: 71.28 kB / 360.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1526, allocations: 106.1 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1526, allocations: 25.7 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.1527, allocations: 88.14 kB / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.1527, allocations: 0 / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1527, allocations: 13.72 kB / 360.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003029/0.153, allocations: 318.8 kB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.1531, allocations: 4 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.1531, allocations: 35.44 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.1531, allocations: 31.38 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1532, allocations: 0 / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.037e-05/0.1532, allocations: 61.62 kB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1533, allocations: 7.938 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1533, allocations: 0 / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1533, allocations: 4 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.1534, allocations: 7.938 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1534, allocations: 12.05 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.1534, allocations: 0 / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1534, allocations: 0 / 360.9 MB, free: 10.18 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 8e-05/0.1535, allocations: 113.9 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.1537, allocations: 85.78 kB / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.1538, allocations: 11.94 kB / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1538, allocations: 0 / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1538, allocations: 0 / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1538, allocations: 4 kB / 361.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.1539, allocations: 157.7 kB / 361.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1539, allocations: 0 / 361.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.154, allocations: 15.92 kB / 361.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.154, allocations: 7.938 kB / 361.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.154, allocations: 0 / 361.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.154, allocations: 0 / 361.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.154, allocations: 0 / 361.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1543, allocations: 101.1 kB / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.1543, allocations: 88.94 kB / 361.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1543, allocations: 0 / 361.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.1544, allocations: 8 kB / 361.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-06/0.1544, allocations: 3.938 kB / 361.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1544, allocations: 4 kB / 361.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.1545, allocations: 87.27 kB / 361.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1545, allocations: 3.938 kB / 361.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1547, allocations: 4 kB / 361.5 MB, free: 9.383 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.0001579/0.1549, allocations: 103.2 kB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1551, allocations: 35.97 kB / 361.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1551, allocations: 0 / 361.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1551, allocations: 0 / 361.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1555, allocations: 35.94 kB / 361.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.1559, allocations: 123.5 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.1563, allocations: 0.6848 MB / 362.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.276e-05/0.1564, allocations: 0 / 362.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.1564, allocations: 11.44 kB / 362.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1564, allocations: 0 / 362.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of Templates: time 0.002835/0.1593, allocations: 392.4 kB / 362.9 MB, free: 7.953 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","/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) Reference file matches