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.001306/0.001306, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 58.84 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.127, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003484/0.1306, allocations: 1.464 MB / 358.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.1309, allocations: 31.91 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1311, allocations: 3.938 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.1311, allocations: 0 / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/0.1312, allocations: 7.938 kB / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1315, allocations: 27.98 kB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1316, allocations: 47.83 kB / 359.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1317, allocations: 8 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.1318, allocations: 15.98 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.1319, allocations: 19.92 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1319, allocations: 4 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.1319, allocations: 7.938 kB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.1319, allocations: 7.938 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.132, allocations: 19.91 kB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1321, allocations: 35.83 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1322, allocations: 0 / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1322, allocations: 0 / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1322, allocations: 4 kB / 359.2 MB, free: 12.41 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.0005795/0.1328, allocations: 359.6 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1328, allocations: 16.02 kB / 359.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.1329, allocations: 0.9375 kB / 359.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1331, allocations: 176.3 kB / 359.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1331, allocations: 4.375 kB / 359.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1331, allocations: 384 / 359.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.1337, allocations: 167.7 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1338, allocations: 4.125 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1338, allocations: 3.938 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1338, allocations: 0 / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.1341, allocations: 51.94 kB / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.1343, allocations: 157.7 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1346, allocations: 86.44 kB / 360.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1348, allocations: 44.91 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.1348, allocations: 0 / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1349, allocations: 30.56 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1349, allocations: 0 / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005023/0.1354, allocations: 121.5 kB / 360.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.1355, allocations: 63.34 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.1356, allocations: 109.8 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1356, allocations: 29.7 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.1356, allocations: 80.14 kB / 360.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1357, allocations: 11.91 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.1357, allocations: 13.72 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1359, allocations: 318.8 kB / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.1359, allocations: 4 kB / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.1359, allocations: 27.44 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.136, allocations: 39.38 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.136, allocations: 0 / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000104/0.1361, allocations: 61.62 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1361, allocations: 11.09 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1361, allocations: 3.938 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1362, allocations: 4 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.1362, allocations: 11.98 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1363, allocations: 3.938 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.1363, allocations: 0 / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.1363, allocations: 4 kB / 361.2 MB, free: 10.18 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 ($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.0001079/0.1364, allocations: 117.8 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.1367, allocations: 85.55 kB / 361.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.1368, allocations: 19.83 kB / 361.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1368, allocations: 0 / 361.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1368, allocations: 0 / 361.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1368, allocations: 0 / 361.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1369, allocations: 161.8 kB / 361.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1369, allocations: 4 kB / 361.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.137, allocations: 15.92 kB / 361.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.137, allocations: 0 / 361.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1371, allocations: 3.938 kB / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.1371, allocations: 7.984 kB / 361.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1371, allocations: 7.875 kB / 361.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.1374, allocations: 110.8 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.1375, allocations: 89 kB / 361.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1375, allocations: 3.938 kB / 361.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1376, allocations: 7.984 kB / 361.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-06/0.1376, allocations: 0 / 361.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1376, allocations: 4 kB / 361.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.1377, allocations: 83.28 kB / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1377, allocations: 0 / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000192/0.1379, allocations: 8 kB / 361.9 MB, free: 9.352 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.0001352/0.138, allocations: 107.2 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1382, allocations: 43.91 kB / 362 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1382, allocations: 0 / 362 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1383, allocations: 4 kB / 362 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.1387, allocations: 43.92 kB / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.1391, allocations: 133.7 kB / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1394, allocations: 0.6811 MB / 362.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.274e-05/0.1394, allocations: 0 / 362.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1395, allocations: 11.44 kB / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1395, allocations: 0 / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of Templates: time 0.002866/0.1423, allocations: 0.5191 MB / 363.4 MB, free: 7.762 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches