Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 98.47 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 8 kB / 307.1 MB, free: 1.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.132, allocations: 51.52 MB / 358.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001785/0.1338, allocations: 1.196 MB / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006608/0.1345, allocations: 419.4 kB / 360.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.1346, allocations: 3.938 kB / 360.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.1346, allocations: 3.938 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1347, allocations: 3.938 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.135, allocations: 23.97 kB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.135, allocations: 31.86 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.1351, allocations: 11.98 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.1352, allocations: 15.98 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.1353, allocations: 15.92 kB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1353, allocations: 0 / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.1353, allocations: 0 / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.1353, allocations: 7.938 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.1354, allocations: 25.7 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.374e-05/0.1354, allocations: 27.95 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1354, allocations: 0 / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1354, allocations: 0 / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1354, allocations: 0 / 360.4 MB, free: 11.84 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.0004355/0.1359, allocations: 359.5 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1359, allocations: 8.031 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.136, allocations: 7.906 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1362, allocations: 175 kB / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1362, allocations: 0 / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1362, allocations: 4 kB / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.1367, allocations: 159.2 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1367, allocations: 3.984 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1367, allocations: 4 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1367, allocations: 4 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1369, allocations: 43.97 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.137, allocations: 173.4 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1373, allocations: 94.52 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1374, allocations: 36.91 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1374, allocations: 4 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.1375, allocations: 34.56 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1375, allocations: 0 / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003403/0.1378, allocations: 121.5 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1379, allocations: 51.41 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.138, allocations: 117.8 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.138, allocations: 29.7 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1381, allocations: 84.14 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.1381, allocations: 0 / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.1381, allocations: 0 / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1382, allocations: 314.8 kB / 362.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.1382, allocations: 4 kB / 362.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.1383, allocations: 31.36 kB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.1383, allocations: 12 kB / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1383, allocations: 0 / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.455e-05/0.1384, allocations: 57.56 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1384, allocations: 8 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1384, allocations: 0 / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1384, allocations: 3.953 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.1385, allocations: 12.12 kB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1385, allocations: 0 / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.1385, allocations: 3.906 kB / 362.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1385, allocations: 4 kB / 362.3 MB, free: 9.676 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: 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 8.182e-05/0.1386, allocations: 113.8 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.1388, allocations: 89.59 kB / 362.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.1389, allocations: 7.891 kB / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1389, allocations: 3.953 kB / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1389, allocations: 0 / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1389, allocations: 0 / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.139, allocations: 161.7 kB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.139, allocations: 0 / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.1391, allocations: 16.31 kB / 362.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1391, allocations: 4 kB / 362.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1391, allocations: 4 kB / 362.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1391, allocations: 0 / 362.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1391, allocations: 3.953 kB / 362.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1394, allocations: 120.9 kB / 362.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.1394, allocations: 77.11 kB / 362.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1394, allocations: 0 / 362.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.784e-05/0.1395, allocations: 15.98 kB / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-06/0.1395, allocations: 0 / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1395, allocations: 3.938 kB / 362.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.411e-05/0.1395, allocations: 87.22 kB / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1395, allocations: 0 / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001882/0.1397, allocations: 12 kB / 363 MB, free: 8.859 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: 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.0001028/0.1399, allocations: 95.25 kB / 363.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.14, allocations: 39.91 kB / 363.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.14, allocations: 0 / 363.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.14, allocations: 4 kB / 363.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1404, allocations: 36.92 kB / 363.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.1407, allocations: 124.7 kB / 363.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.141, allocations: 0.6809 MB / 364 MB, free: 7.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.603e-05/0.141, allocations: 0 / 364 MB, free: 7.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.141, allocations: 15.38 kB / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.141, allocations: 0 / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of Templates: time 0.002605/0.1436, allocations: 376.9 kB / 364.4 MB, free: 7.441 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches