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.001427/0.001433, allocations: 103.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002085, allocations: 63.58 kB / 307 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1437, allocations: 50.55 MB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003442/0.1471, allocations: 1.48 MB / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1482, allocations: 440.6 kB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.1484, allocations: 3.938 kB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.1484, allocations: 3.938 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.1485, allocations: 7.922 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1488, allocations: 27.92 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1489, allocations: 47.84 kB / 359.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.1491, allocations: 11.98 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.1492, allocations: 11.94 kB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.1493, allocations: 15.92 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1493, allocations: 4 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.671e-05/0.1493, allocations: 4 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.1494, allocations: 4 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.1494, allocations: 23.8 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1496, allocations: 35.88 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1496, allocations: 0 / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1496, allocations: 4 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1496, allocations: 0 / 359.7 MB, free: 11.88 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.0005739/0.1502, allocations: 351.6 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1502, allocations: 8.031 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1503, allocations: 4.938 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1505, allocations: 176.3 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1506, allocations: 384 / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1506, allocations: 4.375 kB / 360.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.1511, allocations: 143.5 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1511, allocations: 0 / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1511, allocations: 0 / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1511, allocations: 4 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.1513, allocations: 39.95 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.1515, allocations: 165.6 kB / 360.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.1518, allocations: 74.52 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.152, allocations: 36.92 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.152, allocations: 3.984 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.152, allocations: 42.42 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.152, allocations: 0 / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003812/0.1524, allocations: 97.55 kB / 360.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.1525, allocations: 51.41 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.1526, allocations: 109.8 kB / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1526, allocations: 29.7 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.1527, allocations: 88.12 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.1527, allocations: 0 / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.1527, allocations: 17.72 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1529, allocations: 314.8 kB / 361.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.1529, allocations: 8 kB / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.153, allocations: 39.31 kB / 361.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.272e-05/0.153, allocations: 39.3 kB / 361.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1531, allocations: 0 / 361.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.728e-05/0.1531, allocations: 53.64 kB / 361.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1532, allocations: 14.91 kB / 361.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1532, allocations: 3.984 kB / 361.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1532, allocations: 0 / 361.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.1533, allocations: 8 kB / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1533, allocations: 0 / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.1533, allocations: 4 kB / 361.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1533, allocations: 0 / 361.5 MB, free: 9.738 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 0.0001007/0.1534, allocations: 117.9 kB / 361.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.1536, allocations: 81.5 kB / 361.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.1537, allocations: 11.91 kB / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1537, allocations: 0 / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1537, allocations: 0 / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1537, allocations: 3.984 kB / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1539, allocations: 153.7 kB / 361.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1539, allocations: 0 / 361.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.527e-05/0.1539, allocations: 11.98 kB / 361.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.154, allocations: 11.94 kB / 361.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.154, allocations: 0 / 361.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.154, allocations: 0 / 361.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.154, allocations: 0 / 361.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.1542, allocations: 105 kB / 362 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.1543, allocations: 88.95 kB / 362.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1543, allocations: 0 / 362.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.1544, allocations: 11.98 kB / 362.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-06/0.1544, allocations: 0 / 362.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1544, allocations: 0 / 362.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.1545, allocations: 91.58 kB / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1545, allocations: 0 / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1547, allocations: 4 kB / 362.2 MB, free: 8.949 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.0001738/0.1549, allocations: 99.23 kB / 362.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1551, allocations: 39.92 kB / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1551, allocations: 0 / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.1551, allocations: 0 / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1555, allocations: 36.38 kB / 362.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.1559, allocations: 125.7 kB / 362.5 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1562, allocations: 0.6885 MB / 363.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.017e-05/0.1563, allocations: 7.938 kB / 363.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.1563, allocations: 7.438 kB / 363.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1563, allocations: 0 / 363.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of Templates: time 0.00324/0.1595, allocations: 413.6 kB / 363.6 MB, free: 7.488 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.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) Reference file matches