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.001114/0.001114, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008546/0.0008546, allocations: 88.55 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002036/0.0002036, allocations: 8 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.187, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08414/0.2711, allocations: 76.88 MB / 486.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.2714, allocations: 75.95 kB / 486.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00173/0.2731, allocations: 0.7777 MB / 487.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2731, allocations: 1.562 kB / 487.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.2731, allocations: 0 / 487.1 MB, free: 12.89 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.0002953/0.2734, allocations: 339.3 kB / 487.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2735, allocations: 8.781 kB / 487.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.2735, allocations: 4 kB / 487.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2737, allocations: 180.2 kB / 487.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2737, allocations: 4 kB / 487.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.2737, allocations: 0 / 487.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.274, allocations: 132.5 kB / 487.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.274, allocations: 8 kB / 487.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.274, allocations: 0 / 487.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2741, allocations: 0 / 487.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2742, allocations: 27.97 kB / 487.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.2743, allocations: 153.7 kB / 488 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.2744, allocations: 58.48 kB / 488 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.2744, allocations: 0 / 488 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2745, allocations: 38.59 kB / 488.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2745, allocations: 0 / 488.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002381/0.2747, allocations: 85.69 kB / 488.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.2748, allocations: 51.41 kB / 488.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.2748, allocations: 101 kB / 488.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2749, allocations: 25.7 kB / 488.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.2749, allocations: 84.14 kB / 488.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.2749, allocations: 11.84 kB / 488.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.2749, allocations: 4 kB / 488.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.275, allocations: 318.8 kB / 488.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.275, allocations: 4 kB / 488.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.2751, allocations: 27.44 kB / 488.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/0.2751, allocations: 4 kB / 488.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2751, allocations: 4 kB / 488.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.574e-05/0.2752, allocations: 65.56 kB / 488.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2752, allocations: 4 kB / 488.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2752, allocations: 4 kB / 488.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2752, allocations: 3.953 kB / 488.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.2753, allocations: 11.98 kB / 488.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2753, allocations: 0 / 488.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.2753, allocations: 7.938 kB / 488.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2753, allocations: 128 / 488.9 MB, free: 10.93 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 6.583e-05/0.2754, allocations: 121.8 kB / 489 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.2755, allocations: 73.52 kB / 489.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.2756, allocations: 4.141 kB / 489.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2756, allocations: 3.984 kB / 489.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2756, allocations: 3.953 kB / 489.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2756, allocations: 3.984 kB / 489.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.715e-05/0.2757, allocations: 153.7 kB / 489.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2757, allocations: 384 / 489.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.2757, allocations: 11.98 kB / 489.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2757, allocations: 12 kB / 489.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2758, allocations: 0 / 489.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2758, allocations: 0 / 489.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2758, allocations: 0 / 489.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.2759, allocations: 93 kB / 489.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.276, allocations: 89 kB / 489.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.276, allocations: 4 kB / 489.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/0.276, allocations: 4 kB / 489.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-06/0.276, allocations: 4 kB / 489.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.276, allocations: 0 / 489.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.856e-05/0.2761, allocations: 87.27 kB / 489.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2761, allocations: 0 / 489.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000167/0.2763, allocations: 11.95 kB / 489.5 MB, free: 10.15 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.0001091/0.2764, allocations: 95.25 kB / 489.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.2765, allocations: 27.92 kB / 489.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2765, allocations: 4.25 kB / 489.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2765, allocations: 0 / 489.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2768, allocations: 34.44 kB / 489.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.277, allocations: 136.3 kB / 489.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2772, allocations: 0.6809 MB / 490.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.705e-05/0.2773, allocations: 0 / 490.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.2773, allocations: 19.42 kB / 490.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2773, allocations: 0 / 490.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of Templates: time 0.001967/0.2793, allocations: 375.9 kB / 490.9 MB, free: 8.742 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/jenkins/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