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.001533/0.001533, allocations: 93.14 kB / 16.3 MB, free: 5.996 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.001565/0.001565, allocations: 184 kB / 17.2 MB, free: 5.914 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.499/1.499, allocations: 223.2 MB / 241.1 MB, free: 5.367 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 7.969 kB / 300.7 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 50.42 MB / 351.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001654/0.1302, allocations: 1.162 MB / 352.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001655/0.1304, allocations: 43.84 kB / 352.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.1305, allocations: 0 / 352.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.1305, allocations: 7.984 kB / 352.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.1306, allocations: 3.938 kB / 352.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1308, allocations: 23.97 kB / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.651e-05/0.1309, allocations: 15.98 kB / 352.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.131, allocations: 12.27 kB / 352.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.131, allocations: 19.92 kB / 352.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.1311, allocations: 15.92 kB / 352.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1311, allocations: 0 / 352.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.1311, allocations: 4 kB / 352.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1312, allocations: 3.984 kB / 352.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.1312, allocations: 29.7 kB / 352.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.168e-05/0.1313, allocations: 31.88 kB / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.1313, allocations: 0 / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1313, allocations: 0 / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1313, allocations: 3.938 kB / 352.5 MB, free: 10.29 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.0004601/0.1317, allocations: 351.2 kB / 352.9 MB, free: 9.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1318, allocations: 8.031 kB / 352.9 MB, free: 9.895 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.1318, allocations: 11.86 kB / 352.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.132, allocations: 179 kB / 353.1 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1321, allocations: 0 / 353.1 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1321, allocations: 4 kB / 353.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.1326, allocations: 167.2 kB / 353.2 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1326, allocations: 0 / 353.2 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.1327, allocations: 0 / 353.2 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1327, allocations: 0 / 353.2 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.1329, allocations: 55.89 kB / 353.3 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.1331, allocations: 165.7 kB / 353.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.1334, allocations: 86.5 kB / 353.5 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1334, allocations: 7.922 kB / 353.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.1334, allocations: 38.59 kB / 353.6 MB, free: 9.074 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.1334, allocations: 0 / 353.6 MB, free: 9.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004713/0.1339, allocations: 117.7 kB / 353.7 MB, free: 8.953 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.134, allocations: 51.41 kB / 353.7 MB, free: 8.891 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.1341, allocations: 113.8 kB / 353.8 MB, free: 8.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1341, allocations: 29.7 kB / 353.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.1341, allocations: 84.14 kB / 354 MB, free: 8.648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.1342, allocations: 11.92 kB / 354 MB, free: 8.637 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.1342, allocations: 0 / 354 MB, free: 8.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1343, allocations: 322.8 kB / 354.3 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.1343, allocations: 3.938 kB / 354.3 MB, free: 8.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.1343, allocations: 31.42 kB / 354.3 MB, free: 8.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.1343, allocations: 16 kB / 354.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1344, allocations: 0 / 354.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.989e-05/0.1344, allocations: 61.53 kB / 354.4 MB, free: 8.184 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1345, allocations: 4 kB / 354.4 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1345, allocations: 0 / 354.4 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1345, allocations: 4 kB / 354.4 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.1345, allocations: 7.938 kB / 354.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1346, allocations: 4 kB / 354.4 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.1346, allocations: 4.125 kB / 354.4 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.1346, allocations: 8 kB / 354.4 MB, free: 8.152 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 (ramp.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/0.1347, allocations: 109.8 kB / 354.5 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.135, allocations: 93.62 kB / 354.6 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.135, allocations: 7.906 kB / 354.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.135, allocations: 0 / 354.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.135, allocations: 0 / 354.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.135, allocations: 0 / 354.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.642e-05/0.1351, allocations: 165.5 kB / 354.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1351, allocations: 0 / 354.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1352, allocations: 27.97 kB / 354.8 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1352, allocations: 3.938 kB / 354.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1352, allocations: 0 / 354.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1352, allocations: 0 / 354.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1353, allocations: 4 kB / 354.8 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.1356, allocations: 120.9 kB / 354.9 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.1356, allocations: 81.11 kB / 355 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1356, allocations: 0 / 355 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.1357, allocations: 15.92 kB / 355 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.1357, allocations: 0 / 355 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1357, allocations: 4.125 kB / 355 MB, free: 7.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.1358, allocations: 87.27 kB / 355.1 MB, free: 7.336 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1358, allocations: 0 / 355.1 MB, free: 7.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001853/0.136, allocations: 4 kB / 355.1 MB, free: 7.332 MB / 286.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 (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.0001212/0.1361, allocations: 99.19 kB / 355.2 MB, free: 7.227 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1363, allocations: 48.09 kB / 355.3 MB, free: 7.18 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1363, allocations: 0 / 355.3 MB, free: 7.18 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1363, allocations: 0 / 355.3 MB, free: 7.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1367, allocations: 51.88 kB / 355.3 MB, free: 7.129 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.137, allocations: 129.1 kB / 355.5 MB, free: 6.977 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.1372, allocations: 0.6809 MB / 356.1 MB, free: 6.27 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.49e-05/0.1372, allocations: 12.11 kB / 356.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.1373, allocations: 7.438 kB / 356.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1373, allocations: 0 / 356.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of Templates: time 0.002327/0.1396, allocations: 483.9 kB / 356.6 MB, free: 5.785 MB / 286.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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches