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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001702/0.001701, allocations: 197.4 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008185/0.0008185, allocations: 112.8 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002558, allocations: 11.98 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2916, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3937, allocations: 76.8 MB / 486.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.3939, allocations: 75.95 kB / 486.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002001/0.3959, allocations: 0.7867 MB / 487 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.396, allocations: 0 / 487 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.396, allocations: 4 kB / 487 MB, free: 13.84 MB / 362.7 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.0003821/0.3964, allocations: 332.3 kB / 487.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3964, allocations: 9.094 kB / 487.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.3965, allocations: 8.938 kB / 487.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3966, allocations: 172.9 kB / 487.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3967, allocations: 384 / 487.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3967, allocations: 9 kB / 487.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.397, allocations: 127.7 kB / 487.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3971, allocations: 192 / 487.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3971, allocations: 3.938 kB / 487.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3971, allocations: 0 / 487.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3972, allocations: 35.89 kB / 487.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.3974, allocations: 153.7 kB / 487.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3975, allocations: 60.33 kB / 487.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.3976, allocations: 32.83 kB / 488 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.3976, allocations: 0 / 488 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3976, allocations: 38.55 kB / 488 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3977, allocations: 0 / 488 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002636/0.3979, allocations: 89.53 kB / 488.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.398, allocations: 55.31 kB / 488.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/0.3981, allocations: 101.9 kB / 488.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3981, allocations: 29.69 kB / 488.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.3981, allocations: 84.14 kB / 488.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.3982, allocations: 4 kB / 488.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-06/0.3982, allocations: 4 kB / 488.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3983, allocations: 314.8 kB / 488.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.3983, allocations: 4 kB / 488.7 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.3983, allocations: 31.42 kB / 488.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.3984, allocations: 39.38 kB / 488.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3984, allocations: 0 / 488.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.27e-05/0.3985, allocations: 61.56 kB / 488.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3985, allocations: 4 kB / 488.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3985, allocations: 3.938 kB / 488.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3985, allocations: 4 kB / 488.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.3986, allocations: 12.5 kB / 488.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3986, allocations: 4 kB / 488.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.3986, allocations: 7.922 kB / 488.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3987, allocations: 11.94 kB / 488.9 MB, free: 11.79 MB / 362.7 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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.3988, allocations: 113.8 kB / 489 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3989, allocations: 65.52 kB / 489 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3989, allocations: 15.84 kB / 489 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3989, allocations: 0 / 489 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.399, allocations: 0 / 489 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.399, allocations: 0 / 489 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.3991, allocations: 161.7 kB / 489.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3991, allocations: 0 / 489.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.3991, allocations: 8 kB / 489.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3991, allocations: 0 / 489.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3992, allocations: 7.922 kB / 489.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3992, allocations: 4 kB / 489.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3992, allocations: 0 / 489.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.3993, allocations: 89.28 kB / 489.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.3994, allocations: 85.02 kB / 489.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3994, allocations: 7.938 kB / 489.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.3995, allocations: 4.031 kB / 489.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-06/0.3995, allocations: 7.984 kB / 489.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3995, allocations: 3.938 kB / 489.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.3995, allocations: 83.28 kB / 489.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3995, allocations: 0 / 489.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.3997, allocations: 4 kB / 489.5 MB, free: 11.03 MB / 362.7 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 (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.0001098/0.3998, allocations: 103.2 kB / 489.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.4, allocations: 35.92 kB / 489.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4, allocations: 0 / 489.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.4, allocations: 0 / 489.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.4002, allocations: 27.98 kB / 489.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.4006, allocations: 128.3 kB / 489.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.4009, allocations: 0.6812 MB / 490.5 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.445e-05/0.4009, allocations: 7.984 kB / 490.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.4009, allocations: 11.44 kB / 490.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4009, allocations: 0 / 490.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of Templates: time 0.002043/0.403, allocations: 386.3 kB / 490.9 MB, free: 9.613 MB / 362.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches