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.001175/0.001175, allocations: 115.8 kB / 17.69 MB, free: 5.305 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.001216/0.001216, allocations: 192 kB / 18.63 MB, free: 4.375 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.438/1.438, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001116, allocations: 51.19 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1239, allocations: 49.45 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002861/0.1268, allocations: 1.452 MB / 353 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.1271, allocations: 35.84 kB / 353 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.1271, allocations: 4 kB / 353 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.1272, allocations: 3.938 kB / 353 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.1272, allocations: 3.938 kB / 353 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1275, allocations: 26.84 kB / 353 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.1276, allocations: 35.91 kB / 353.1 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1277, allocations: 19.98 kB / 353.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.1278, allocations: 15.92 kB / 353.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.1279, allocations: 19.91 kB / 353.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1279, allocations: 4 kB / 353.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.1279, allocations: 4 kB / 353.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.1279, allocations: 11.92 kB / 353.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.128, allocations: 11.94 kB / 353.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.1281, allocations: 39.89 kB / 353.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1281, allocations: 0 / 353.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1281, allocations: 3.938 kB / 353.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1281, allocations: 4 kB / 353.2 MB, free: 2.02 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.0005443/0.1286, allocations: 359.4 kB / 353.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1287, allocations: 15.89 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1287, allocations: 4.844 kB / 353.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.129, allocations: 184.2 kB / 353.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.129, allocations: 384 / 353.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.129, allocations: 4.375 kB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.1296, allocations: 163.8 kB / 353.9 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1296, allocations: 4.125 kB / 353.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1296, allocations: 3.938 kB / 353.9 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1296, allocations: 3.938 kB / 353.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.1299, allocations: 43.94 kB / 354 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1301, allocations: 161.7 kB / 354.1 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1304, allocations: 90.5 kB / 354.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1305, allocations: 32.91 kB / 354.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1305, allocations: 4 kB / 354.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1306, allocations: 30.56 kB / 354.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1306, allocations: 0 / 354.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004747/0.131, allocations: 125.5 kB / 354.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1311, allocations: 51.41 kB / 354.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.1312, allocations: 109.8 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1312, allocations: 25.7 kB / 354.6 MB, free: 436 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.1313, allocations: 92.08 kB / 354.7 MB, free: 340 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.1313, allocations: 3.906 kB / 354.7 MB, free: 336 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.1313, allocations: 17.72 kB / 354.7 MB, free: 312 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1314, allocations: 314.8 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.1314, allocations: 8 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.1315, allocations: 31.38 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.1315, allocations: 35.42 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1315, allocations: 0 / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.386e-05/0.1316, allocations: 65.8 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1316, allocations: 11.98 kB / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1317, allocations: 7.938 kB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1317, allocations: 0 / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.1318, allocations: 8 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1318, allocations: 0 / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.1318, allocations: 4 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1318, allocations: 0 / 355.2 MB, free: 15.79 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: 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 7.663e-05/0.1319, allocations: 113.8 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.1322, allocations: 93.69 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.1322, allocations: 15.89 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1322, allocations: 7.984 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1322, allocations: 0 / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1322, allocations: 0 / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.148e-05/0.1323, allocations: 157.7 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.1324, allocations: 0 / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.749e-05/0.1325, allocations: 15.98 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1325, allocations: 3.984 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1325, allocations: 3.938 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1325, allocations: 0 / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1325, allocations: 7.938 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1328, allocations: 117 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1329, allocations: 84.95 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1329, allocations: 3.938 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.133, allocations: 15.98 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.133, allocations: 0 / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.133, allocations: 0 / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.133, allocations: 87.27 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.133, allocations: 4 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.1332, allocations: 8 kB / 355.9 MB, free: 14.95 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.0001137/0.1334, allocations: 103.7 kB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1336, allocations: 39.91 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1336, allocations: 0 / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.1336, allocations: 0 / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1339, allocations: 48.23 kB / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.1343, allocations: 133.5 kB / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.1346, allocations: 0.6807 MB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.151e-05/0.1346, allocations: 0 / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.1346, allocations: 15.42 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1346, allocations: 3.938 kB / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of Templates: time 0.002733/0.1374, allocations: 0.5224 MB / 357.4 MB, free: 13.36 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/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