Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001874/0.001874, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.97 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1343, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002955/0.1373, allocations: 1.461 MB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.1375, allocations: 31.91 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.1376, allocations: 0 / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.1376, allocations: 3.938 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.1377, allocations: 3.938 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.138, allocations: 23.97 kB / 360.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.1381, allocations: 35.86 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1382, allocations: 4 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.1382, allocations: 11.98 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.1383, allocations: 19.86 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1383, allocations: 4 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.1383, allocations: 0 / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.1384, allocations: 11.98 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.1384, allocations: 11.94 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1385, allocations: 31.84 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1385, allocations: 3.984 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1385, allocations: 4 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1385, allocations: 0 / 360.6 MB, free: 11.64 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.0004548/0.139, allocations: 343.4 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1391, allocations: 16.02 kB / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.1391, allocations: 4.844 kB / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1394, allocations: 180.3 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.1394, allocations: 384 / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1394, allocations: 8.375 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.1398, allocations: 119.8 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1398, allocations: 192 / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1398, allocations: 3.938 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1398, allocations: 7.984 kB / 361.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1399, allocations: 23.92 kB / 361.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1401, allocations: 161.6 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1403, allocations: 62.48 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.1403, allocations: 28.91 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1404, allocations: 4 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1404, allocations: 30.56 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1404, allocations: 0 / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002787/0.1407, allocations: 81.59 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1407, allocations: 59.34 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.1408, allocations: 109.8 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1409, allocations: 25.7 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.1409, allocations: 84.14 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.1409, allocations: 7.938 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.141, allocations: 13.72 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1411, allocations: 318.8 kB / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.1411, allocations: 4 kB / 362.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/0.1411, allocations: 31.44 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.1412, allocations: 39.36 kB / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1412, allocations: 0 / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.498e-05/0.1413, allocations: 69.53 kB / 362.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1413, allocations: 4 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1413, allocations: 3.938 kB / 362.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1413, allocations: 4 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.1414, allocations: 11.94 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1414, allocations: 0 / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.1414, allocations: 0 / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1414, allocations: 4 kB / 362.4 MB, free: 9.559 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.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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 8.273e-05/0.1415, allocations: 121.9 kB / 362.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.1417, allocations: 57.67 kB / 362.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.1417, allocations: 15.83 kB / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1417, allocations: 4 kB / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1417, allocations: 0 / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1417, allocations: 0 / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.1419, allocations: 158 kB / 362.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1419, allocations: 0 / 362.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.1419, allocations: 19.92 kB / 362.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1419, allocations: 0 / 362.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.142, allocations: 3.938 kB / 362.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.142, allocations: 4 kB / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.142, allocations: 0 / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1421, allocations: 89.09 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.1422, allocations: 81.11 kB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1422, allocations: 7.875 kB / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.1423, allocations: 11.94 kB / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.1423, allocations: 0 / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1423, allocations: 3.984 kB / 363 MB, free: 8.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.1423, allocations: 83.28 kB / 363 MB, free: 8.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1423, allocations: 0 / 363 MB, free: 8.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.1425, allocations: 8 kB / 363 MB, free: 8.793 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 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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.0001087/0.1426, allocations: 99.19 kB / 363.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1428, allocations: 32.25 kB / 363.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1428, allocations: 0 / 363.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1428, allocations: 0 / 363.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1431, allocations: 36.11 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.1434, allocations: 126.5 kB / 363.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1436, allocations: 0.6846 MB / 364 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.246e-05/0.1437, allocations: 4.234 kB / 364 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.1437, allocations: 11.44 kB / 364 MB, free: 7.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1437, allocations: 0 / 364 MB, free: 7.75 MB / 302.1 MB Notification: Performance of Templates: time 0.00243/0.1461, allocations: 419.1 kB / 364.4 MB, free: 7.344 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches