Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 115 kB / 16.63 MB, free: 6.812 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.001595/0.001595, allocations: 186 kB / 17.55 MB, free: 5.934 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.413/1.413, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 56.05 kB / 300.1 MB, free: 6.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1211, allocations: 49.45 MB / 349.6 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002866/0.124, allocations: 1.511 MB / 351.1 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000189/0.1243, allocations: 31.91 kB / 351.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.1243, allocations: 0 / 351.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.1244, allocations: 3.938 kB / 351.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.1244, allocations: 0 / 351.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1247, allocations: 43.83 kB / 351.2 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.987e-05/0.1248, allocations: 31.98 kB / 351.2 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1249, allocations: 15.92 kB / 351.2 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.125, allocations: 19.92 kB / 351.2 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.125, allocations: 23.91 kB / 351.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.125, allocations: 4 kB / 351.3 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.1251, allocations: 4 kB / 351.3 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.1251, allocations: 7.938 kB / 351.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.1251, allocations: 15.92 kB / 351.3 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.86e-05/0.1252, allocations: 39.88 kB / 351.3 MB, free: 2.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1252, allocations: 0 / 351.3 MB, free: 2.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1253, allocations: 0 / 351.3 MB, free: 2.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1253, allocations: 0 / 351.3 MB, free: 2.965 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.0005259/0.1258, allocations: 359.6 kB / 351.7 MB, free: 2.562 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1258, allocations: 8.031 kB / 351.7 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.1259, allocations: 8.844 kB / 351.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.126, allocations: 176.3 kB / 351.9 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1261, allocations: 8.375 kB / 351.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1261, allocations: 384 / 351.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.1269, allocations: 163.7 kB / 352 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1269, allocations: 192 / 352 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1269, allocations: 7.875 kB / 352 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1269, allocations: 0 / 352 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.1272, allocations: 51.94 kB / 352.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.1274, allocations: 157.7 kB / 352.2 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.1277, allocations: 86.45 kB / 352.3 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.1278, allocations: 44.89 kB / 352.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1279, allocations: 0 / 352.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1279, allocations: 30.56 kB / 352.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1279, allocations: 0 / 352.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005378/0.1284, allocations: 113.5 kB / 352.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.1285, allocations: 67.34 kB / 352.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1287, allocations: 105.8 kB / 352.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1287, allocations: 25.7 kB / 352.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.1288, allocations: 84.12 kB / 352.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1288, allocations: 19.83 kB / 352.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.1289, allocations: 9.719 kB / 352.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.129, allocations: 318.8 kB / 353.1 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.129, allocations: 4 kB / 353.1 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.129, allocations: 39.42 kB / 353.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.1291, allocations: 35.38 kB / 353.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1291, allocations: 0 / 353.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.1292, allocations: 65.62 kB / 353.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1292, allocations: 4 kB / 353.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1292, allocations: 3.938 kB / 353.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1293, allocations: 4 kB / 353.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.1293, allocations: 8.125 kB / 353.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1293, allocations: 4 kB / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.1294, allocations: 0 / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1294, allocations: 4 kB / 353.3 MB, free: 0.7344 MB / 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.783e-05/0.1295, allocations: 125.9 kB / 353.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.1298, allocations: 85.55 kB / 353.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.1298, allocations: 7.844 kB / 353.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1298, allocations: 0 / 353.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1298, allocations: 0 / 353.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1298, allocations: 3.984 kB / 353.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.611e-05/0.1299, allocations: 161.7 kB / 353.7 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1299, allocations: 4 kB / 353.7 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.1301, allocations: 15.92 kB / 353.7 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1301, allocations: 0 / 353.7 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1301, allocations: 3.938 kB / 353.7 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1301, allocations: 4 kB / 353.7 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1301, allocations: 4 kB / 353.7 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.1304, allocations: 113 kB / 353.8 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.1305, allocations: 85.02 kB / 353.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1305, allocations: 3.938 kB / 353.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.1306, allocations: 11.92 kB / 353.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-06/0.1306, allocations: 0 / 353.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1306, allocations: 4 kB / 353.9 MB, free: 4 kB / 286.1 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.1307, allocations: 91.27 kB / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1307, allocations: 0 / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.1309, allocations: 4 kB / 354 MB, free: 15.91 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.000117/0.131, allocations: 111.1 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.1313, allocations: 47.95 kB / 354.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1313, allocations: 0 / 354.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1313, allocations: 256 / 354.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1318, allocations: 53.28 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.1322, allocations: 133.5 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1325, allocations: 0.6846 MB / 355 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.239e-05/0.1325, allocations: 0 / 355 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.1326, allocations: 11.44 kB / 355 MB, free: 14.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1326, allocations: 0 / 355 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Templates: time 0.002989/0.1356, allocations: 0.5271 MB / 355.6 MB, free: 14.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches