Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 96.06 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 204.2 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002473, allocations: 8 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 51.5 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002188/0.1311, allocations: 1.172 MB / 359.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002235/0.1314, allocations: 39.84 kB / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.1315, allocations: 0 / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.1315, allocations: 0 / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.1316, allocations: 4 kB / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1319, allocations: 23.97 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.357e-05/0.132, allocations: 23.91 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1321, allocations: 4 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.1322, allocations: 23.92 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.1322, allocations: 15.92 kB / 359.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1322, allocations: 3.984 kB / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.1323, allocations: 4 kB / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.1323, allocations: 7.922 kB / 359.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.1323, allocations: 25.7 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.077e-05/0.1324, allocations: 27.95 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1324, allocations: 0 / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1324, allocations: 0 / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1325, allocations: 0 / 359.5 MB, free: 12.52 MB / 302.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.0006408/0.1331, allocations: 355.5 kB / 359.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1332, allocations: 8.031 kB / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.1332, allocations: 7.906 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1334, allocations: 175 kB / 360 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1335, allocations: 0 / 360 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1335, allocations: 4 kB / 360 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.1341, allocations: 167.2 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1341, allocations: 4 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1342, allocations: 0 / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1342, allocations: 0 / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.1344, allocations: 55.88 kB / 360.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1346, allocations: 165.6 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.1349, allocations: 86.5 kB / 360.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.135, allocations: 0 / 360.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.135, allocations: 38.59 kB / 360.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.135, allocations: 0 / 360.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004809/0.1355, allocations: 133.5 kB / 360.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.1356, allocations: 51.41 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.477e-05/0.1357, allocations: 105.8 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1357, allocations: 29.7 kB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.1357, allocations: 84.14 kB / 360.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1358, allocations: 0 / 360.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.1358, allocations: 0 / 360.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1359, allocations: 322.8 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.1359, allocations: 7.984 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.136, allocations: 31.44 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.136, allocations: 15.94 kB / 361.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.136, allocations: 4 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.937e-05/0.1361, allocations: 57.53 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1361, allocations: 8 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1361, allocations: 0 / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1362, allocations: 7.953 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.1362, allocations: 4 kB / 361.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.1363, allocations: 7.984 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.1363, allocations: 7.938 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1363, allocations: 4 kB / 361.4 MB, free: 10.38 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 (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 8.802e-05/0.1364, allocations: 110 kB / 361.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.1367, allocations: 89.64 kB / 361.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.1367, allocations: 11.89 kB / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1368, allocations: 3.953 kB / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1368, allocations: 0 / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1368, allocations: 0 / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.1369, allocations: 161.6 kB / 361.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1369, allocations: 0 / 361.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.137, allocations: 19.98 kB / 361.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.137, allocations: 4 kB / 361.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1371, allocations: 0 / 361.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1371, allocations: 3.938 kB / 361.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1371, allocations: 7.953 kB / 361.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1374, allocations: 117 kB / 361.9 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.1375, allocations: 77.11 kB / 362 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1375, allocations: 4 kB / 362 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.1376, allocations: 7.984 kB / 362 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-06/0.1376, allocations: 4 kB / 362 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.1376, allocations: 7.984 kB / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.1376, allocations: 87.23 kB / 362.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1377, allocations: 0 / 362.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.1378, allocations: 4 kB / 362.1 MB, free: 9.566 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 (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.0001262/0.138, allocations: 99.19 kB / 362.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1382, allocations: 51.89 kB / 362.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1382, allocations: 4.25 kB / 362.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.1382, allocations: 0 / 362.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1386, allocations: 39.94 kB / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.139, allocations: 132.9 kB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1393, allocations: 0.6848 MB / 363.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.451e-05/0.1394, allocations: 8 kB / 363.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.1394, allocations: 15.38 kB / 363.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1394, allocations: 0 / 363.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of Templates: time 0.002711/0.1421, allocations: 476 kB / 363.6 MB, free: 8.016 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches