Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.157/1.157, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000848/0.000848, allocations: 95.59 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001979/0.0001979, allocations: 8 kB / 357.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1833, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08442/0.2678, allocations: 76.87 MB / 486.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.268, allocations: 77.92 kB / 486.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001913/0.27, allocations: 0.7849 MB / 487.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.27, allocations: 4 kB / 487.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.27, allocations: 0 / 487.1 MB, free: 12.91 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.0003195/0.2703, allocations: 335.3 kB / 487.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2704, allocations: 8.031 kB / 487.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.2704, allocations: 4 kB / 487.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2706, allocations: 183 kB / 487.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.2706, allocations: 8 kB / 487.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.2706, allocations: 0 / 487.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.2709, allocations: 119.2 kB / 487.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.271, allocations: 2.969 kB / 487.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.271, allocations: 0 / 487.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.271, allocations: 0 / 487.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2711, allocations: 27.97 kB / 487.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.2712, allocations: 161.6 kB / 488 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.2714, allocations: 66.53 kB / 488 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.2714, allocations: 3.938 kB / 488 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2715, allocations: 30.56 kB / 488.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.2715, allocations: 0 / 488.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002534/0.2717, allocations: 85.67 kB / 488.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.2718, allocations: 55.41 kB / 488.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.2719, allocations: 97 kB / 488.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2719, allocations: 25.7 kB / 488.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.2719, allocations: 96.11 kB / 488.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.272, allocations: 3.906 kB / 488.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.272, allocations: 0 / 488.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2721, allocations: 318.8 kB / 488.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.2721, allocations: 0 / 488.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.2721, allocations: 35.42 kB / 488.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.151e-05/0.2722, allocations: 12 kB / 488.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2722, allocations: 0 / 488.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.799e-05/0.2722, allocations: 61.56 kB / 488.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2723, allocations: 4 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2723, allocations: 0 / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2723, allocations: 7.953 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.2724, allocations: 8 kB / 488.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2724, allocations: 4.125 kB / 488.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.2724, allocations: 0 / 488.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.2724, allocations: 11.98 kB / 488.9 MB, free: 10.95 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * 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 7.575e-05/0.2725, allocations: 113.8 kB / 489 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2726, allocations: 69.7 kB / 489.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.2727, allocations: 16.25 kB / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2727, allocations: 0 / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2727, allocations: 3.953 kB / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.2727, allocations: 0 / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.941e-05/0.2728, allocations: 165.7 kB / 489.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2728, allocations: 0 / 489.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.2728, allocations: 8 kB / 489.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2729, allocations: 0 / 489.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2729, allocations: 8 kB / 489.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2729, allocations: 0 / 489.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2729, allocations: 3.984 kB / 489.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.2731, allocations: 93 kB / 489.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.2731, allocations: 89.02 kB / 489.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2731, allocations: 3.938 kB / 489.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.173e-05/0.2732, allocations: 7.984 kB / 489.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-06/0.2732, allocations: 0 / 489.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2732, allocations: 0 / 489.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.2732, allocations: 83.28 kB / 489.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2733, allocations: 0 / 489.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.2734, allocations: 7.953 kB / 489.5 MB, free: 10.18 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: 4 (assignClock1.u,assignClock1.y,step.y,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 8.816e-05/0.2735, allocations: 99.25 kB / 489.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.2737, allocations: 35.91 kB / 489.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2737, allocations: 0 / 489.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2737, allocations: 0 / 489.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2739, allocations: 34.22 kB / 489.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.2742, allocations: 124.6 kB / 489.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.2744, allocations: 0.689 MB / 490.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.723e-05/0.2745, allocations: 256 / 490.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.2745, allocations: 11.44 kB / 490.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2745, allocations: 0 / 490.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of Templates: time 0.001922/0.2764, allocations: 378.2 kB / 490.9 MB, free: 8.777 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches