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.0009402/0.0009404, allocations: 90.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 197.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 11.98 kB / 307.8 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 51.51 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002096/0.1459, allocations: 1.188 MB / 360.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002529/0.1462, allocations: 31.91 kB / 360.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.1463, allocations: 3.938 kB / 360.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.1463, allocations: 0 / 360.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.1464, allocations: 0 / 360.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.1468, allocations: 35.91 kB / 360.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1469, allocations: 23.98 kB / 360.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.147, allocations: 4 kB / 360.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.1471, allocations: 11.94 kB / 360.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.1472, allocations: 19.91 kB / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1472, allocations: 0 / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.1472, allocations: 0 / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.1473, allocations: 11.94 kB / 360.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.1473, allocations: 37.62 kB / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1475, allocations: 23.84 kB / 360.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1475, allocations: 0 / 360.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1475, allocations: 0 / 360.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1475, allocations: 0 / 360.6 MB, free: 11.9 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.0005538/0.148, allocations: 343.7 kB / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1481, allocations: 12.03 kB / 361 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.1482, allocations: 8.828 kB / 361 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1484, allocations: 180.4 kB / 361.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.1484, allocations: 384 / 361.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1485, allocations: 4.375 kB / 361.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.1489, allocations: 127.8 kB / 361.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1489, allocations: 192 / 361.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1489, allocations: 7.938 kB / 361.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1489, allocations: 0 / 361.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1491, allocations: 31.91 kB / 361.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1492, allocations: 153.7 kB / 361.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1494, allocations: 58.58 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.1495, allocations: 24.89 kB / 361.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1495, allocations: 0 / 361.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1496, allocations: 38.55 kB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1496, allocations: 0 / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003147/0.1499, allocations: 93.44 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.15, allocations: 59.34 kB / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.1501, allocations: 101.9 kB / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1501, allocations: 25.7 kB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.1502, allocations: 88.12 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.1502, allocations: 4 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.1502, allocations: 13.72 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1504, allocations: 314.8 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.1504, allocations: 7.984 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.1504, allocations: 31.44 kB / 362.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.1505, allocations: 35.38 kB / 362.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1505, allocations: 4 kB / 362.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.545e-05/0.1506, allocations: 61.47 kB / 362.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.1506, allocations: 8 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1507, allocations: 3.938 kB / 362.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1507, allocations: 0 / 362.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.1508, allocations: 8 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1508, allocations: 8.109 kB / 362.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.1508, allocations: 8 kB / 362.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.1508, allocations: 3.938 kB / 362.5 MB, free: 9.816 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.903e-05/0.1509, allocations: 113.8 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.1511, allocations: 69.61 kB / 362.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.1511, allocations: 8.078 kB / 362.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1511, allocations: 0 / 362.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1511, allocations: 4 kB / 362.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1511, allocations: 4.359 kB / 362.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1513, allocations: 161.7 kB / 362.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.1513, allocations: 4 kB / 362.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.1513, allocations: 8 kB / 362.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1513, allocations: 3.984 kB / 362.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1514, allocations: 7.938 kB / 362.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1514, allocations: 0 / 362.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1514, allocations: 0 / 362.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1516, allocations: 96.95 kB / 362.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.1516, allocations: 81.11 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1516, allocations: 3.938 kB / 363 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.1517, allocations: 7.984 kB / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.1517, allocations: 0 / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1517, allocations: 4 kB / 363 MB, free: 9.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.218e-05/0.1518, allocations: 83.28 kB / 363.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1518, allocations: 0 / 363.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001831/0.152, allocations: 4 kB / 363.1 MB, free: 9.055 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.0001376/0.1521, allocations: 103.2 kB / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.1523, allocations: 35.86 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1523, allocations: 0 / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1523, allocations: 0 / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1527, allocations: 34.36 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.1531, allocations: 124.6 kB / 363.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1535, allocations: 0.6851 MB / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.1535, allocations: 11.89 kB / 364.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1536, allocations: 7.438 kB / 364.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1536, allocations: 0 / 364.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of Templates: time 0.002932/0.1565, allocations: 407 kB / 364.5 MB, free: 7.602 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/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