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.0009696/0.0009695, allocations: 95.8 kB / 16.65 MB, free: 6.59 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.001349/0.001349, allocations: 181.2 kB / 17.56 MB, free: 6.203 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.593/1.593, allocations: 223.3 MB / 241.6 MB, free: 140 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002615, allocations: 7.984 kB / 301.4 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.13, allocations: 50.42 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001648/0.1317, allocations: 1.174 MB / 353 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.132, allocations: 39.84 kB / 353.1 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.132, allocations: 3.938 kB / 353.1 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.1321, allocations: 0 / 353.1 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.1321, allocations: 3.938 kB / 353.1 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1324, allocations: 27.97 kB / 353.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.6e-05/0.1325, allocations: 43.91 kB / 353.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1327, allocations: 4 kB / 353.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.1327, allocations: 15.92 kB / 353.2 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.832e-05/0.1328, allocations: 15.92 kB / 353.2 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1328, allocations: 4 kB / 353.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.1328, allocations: 0 / 353.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.1328, allocations: 7.922 kB / 353.2 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.1329, allocations: 41.62 kB / 353.2 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.523e-05/0.133, allocations: 27.89 kB / 353.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.133, allocations: 0 / 353.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.133, allocations: 4 kB / 353.3 MB, free: 2.262 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.133, allocations: 0 / 353.3 MB, free: 2.262 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.0005098/0.1335, allocations: 355.6 kB / 353.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1336, allocations: 8.031 kB / 353.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.1336, allocations: 8.844 kB / 353.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1338, allocations: 176.4 kB / 353.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.1339, allocations: 4.375 kB / 353.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1339, allocations: 384 / 353.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.1345, allocations: 171.7 kB / 354 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1345, allocations: 192 / 354 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1345, allocations: 7.938 kB / 354 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1345, allocations: 0 / 354 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.1348, allocations: 47.94 kB / 354 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.135, allocations: 165.6 kB / 354.2 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.1353, allocations: 94.48 kB / 354.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1354, allocations: 44.84 kB / 354.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1355, allocations: 0 / 354.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1355, allocations: 30.56 kB / 354.3 MB, free: 1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1355, allocations: 0 / 354.3 MB, free: 1 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005495/0.1361, allocations: 125.5 kB / 354.5 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.1361, allocations: 55.41 kB / 354.5 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1363, allocations: 109.8 kB / 354.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1363, allocations: 25.7 kB / 354.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.1363, allocations: 84.14 kB / 354.7 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.1364, allocations: 11.92 kB / 354.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.1364, allocations: 9.719 kB / 354.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1365, allocations: 314.8 kB / 355.1 MB, free: 232 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.1365, allocations: 7.938 kB / 355.1 MB, free: 224 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.1366, allocations: 35.42 kB / 355.1 MB, free: 176 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.1366, allocations: 35.38 kB / 355.1 MB, free: 128 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1366, allocations: 4 kB / 355.1 MB, free: 124 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.172e-05/0.1367, allocations: 57.53 kB / 355.2 MB, free: 60 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1368, allocations: 12.12 kB / 355.2 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1368, allocations: 8 kB / 355.2 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1368, allocations: 0 / 355.2 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.1369, allocations: 16 kB / 355.2 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1369, allocations: 0 / 355.2 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.1369, allocations: 4 kB / 355.2 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.1369, allocations: 0 / 355.2 MB, free: 20 kB / 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 0.0001018/0.137, allocations: 117.8 kB / 355.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.1373, allocations: 89.58 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.1373, allocations: 11.84 kB / 355.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1374, allocations: 4 kB / 355.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1374, allocations: 0 / 355.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1374, allocations: 3.984 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.1375, allocations: 165.6 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1375, allocations: 0 / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.615e-05/0.1376, allocations: 15.98 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1376, allocations: 0 / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1376, allocations: 3.938 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1376, allocations: 0 / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1376, allocations: 0 / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.1379, allocations: 121.8 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.138, allocations: 81.02 kB / 355.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.138, allocations: 7.938 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.1381, allocations: 7.984 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-06/0.1381, allocations: 3.938 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1381, allocations: 7.938 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.1382, allocations: 87.27 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1382, allocations: 4 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.1384, allocations: 4 kB / 356 MB, free: 15.19 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.0001168/0.1385, allocations: 103.1 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1387, allocations: 48.23 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1387, allocations: 3.938 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.1387, allocations: 0 / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.1391, allocations: 46.89 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1395, allocations: 140.9 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1397, allocations: 0.6848 MB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.173e-05/0.1398, allocations: 4 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1398, allocations: 11.42 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1398, allocations: 0 / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Templates: time 0.002623/0.1424, allocations: 499.7 kB / 357.5 MB, free: 13.61 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