Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 95.52 kB / 16.3 MB, free: 5.656 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.001585/0.001585, allocations: 182.7 kB / 17.2 MB, free: 5.59 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.475/1.475, allocations: 223.2 MB / 241.1 MB, free: 5.348 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003239, allocations: 7.906 kB / 300.7 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 50.42 MB / 351.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001876/0.1281, allocations: 1.177 MB / 352.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000662/0.1288, allocations: 387.5 kB / 352.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.1289, allocations: 4 kB / 352.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.1289, allocations: 7.922 kB / 352.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.129, allocations: 3.984 kB / 352.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1292, allocations: 27.91 kB / 352.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.1293, allocations: 19.92 kB / 352.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1294, allocations: 12.27 kB / 352.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.1295, allocations: 8 kB / 352.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.1295, allocations: 11.92 kB / 352.8 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1296, allocations: 4 kB / 352.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.1296, allocations: 0 / 352.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.1296, allocations: 15.92 kB / 352.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.1297, allocations: 29.7 kB / 352.8 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.038e-05/0.1297, allocations: 27.89 kB / 352.9 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1297, allocations: 0 / 352.9 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1297, allocations: 0 / 352.9 MB, free: 9.914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1297, allocations: 4 kB / 352.9 MB, free: 9.91 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.0004969/0.1302, allocations: 339.3 kB / 353.2 MB, free: 9.531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1303, allocations: 16.03 kB / 353.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.1303, allocations: 11.86 kB / 353.2 MB, free: 9.504 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.1305, allocations: 178.9 kB / 353.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1305, allocations: 0 / 353.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1306, allocations: 4 kB / 353.4 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.131, allocations: 155.2 kB / 353.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1311, allocations: 0 / 353.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1311, allocations: 0 / 353.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1311, allocations: 4 kB / 353.6 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.1313, allocations: 51.92 kB / 353.6 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1314, allocations: 161.6 kB / 353.8 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1317, allocations: 102.5 kB / 353.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1318, allocations: 0 / 353.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1318, allocations: 34.69 kB / 353.9 MB, free: 8.707 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1318, allocations: 4 kB / 353.9 MB, free: 8.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003769/0.1322, allocations: 113.6 kB / 354 MB, free: 8.586 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1323, allocations: 55.41 kB / 354.1 MB, free: 8.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.1323, allocations: 105.8 kB / 354.2 MB, free: 8.406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1324, allocations: 33.58 kB / 354.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.1324, allocations: 84.14 kB / 354.3 MB, free: 8.281 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.1324, allocations: 4 kB / 354.3 MB, free: 8.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.1324, allocations: 0 / 354.3 MB, free: 8.277 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1326, allocations: 322.8 kB / 354.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.1326, allocations: 4 kB / 354.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.1326, allocations: 27.44 kB / 354.6 MB, free: 7.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.1326, allocations: 8 kB / 354.6 MB, free: 7.902 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1326, allocations: 0 / 354.6 MB, free: 7.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.381e-05/0.1327, allocations: 57.56 kB / 354.7 MB, free: 7.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1327, allocations: 4 kB / 354.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1328, allocations: 4.125 kB / 354.7 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1328, allocations: 8 kB / 354.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.1328, allocations: 7.984 kB / 354.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1328, allocations: 4 kB / 354.7 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.1329, allocations: 3.906 kB / 354.7 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-06/0.1329, allocations: 0 / 354.7 MB, free: 7.809 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/0.133, allocations: 117.8 kB / 354.8 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.1332, allocations: 89.59 kB / 354.9 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.1332, allocations: 7.906 kB / 354.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1332, allocations: 4 kB / 354.9 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1332, allocations: 0 / 354.9 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1332, allocations: 0 / 354.9 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1333, allocations: 161.6 kB / 355.1 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1333, allocations: 0 / 355.1 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.1334, allocations: 19.98 kB / 355.1 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1334, allocations: 0 / 355.1 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1334, allocations: 336 / 355.1 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1335, allocations: 0 / 355.1 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1335, allocations: 0 / 355.1 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1337, allocations: 128.9 kB / 355.2 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.1338, allocations: 81.05 kB / 355.3 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1338, allocations: 8 kB / 355.3 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.1339, allocations: 4 kB / 355.3 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-06/0.1339, allocations: 0 / 355.3 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1339, allocations: 7.984 kB / 355.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.1339, allocations: 91.52 kB / 355.4 MB, free: 6.992 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1339, allocations: 4 kB / 355.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000188/0.1341, allocations: 4 kB / 355.4 MB, free: 6.984 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: 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 (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.0001168/0.1343, allocations: 95.25 kB / 355.5 MB, free: 6.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.1344, allocations: 39.91 kB / 355.6 MB, free: 6.844 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1344, allocations: 256 / 355.6 MB, free: 6.844 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1344, allocations: 7.938 kB / 355.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1348, allocations: 43.95 kB / 355.6 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.1351, allocations: 119.2 kB / 355.7 MB, free: 6.652 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1353, allocations: 0.6848 MB / 356.4 MB, free: 5.941 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.895e-05/0.1353, allocations: 7.984 kB / 356.4 MB, free: 5.934 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.1354, allocations: 7.438 kB / 356.4 MB, free: 5.926 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1354, allocations: 0 / 356.4 MB, free: 5.926 MB / 286.1 MB Notification: Performance of Templates: time 0.002288/0.1377, allocations: 357.8 kB / 356.8 MB, free: 5.578 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches