Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, 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.213/1.213, allocations: 227.2 MB / 245 MB, free: 5.746 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008783/0.0008783, allocations: 108.6 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002117/0.0002117, allocations: 4 kB / 357.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1895, allocations: 51.49 MB / 409.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08234/0.2719, allocations: 76.91 MB / 486.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.2721, allocations: 79.94 kB / 486.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001379/0.2735, allocations: 0.6712 MB / 487.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2736, allocations: 0.6875 kB / 487.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2736, allocations: 0 / 487.1 MB, free: 12.92 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.0002819/0.2739, allocations: 327.6 kB / 487.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2739, allocations: 12.03 kB / 487.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.2739, allocations: 0 / 487.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2741, allocations: 175 kB / 487.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2741, allocations: 7.938 kB / 487.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.2741, allocations: 3.25 kB / 487.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.2744, allocations: 114.5 kB / 487.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2744, allocations: 3.984 kB / 487.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2744, allocations: 0 / 487.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.2744, allocations: 2.438 kB / 487.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.2745, allocations: 15.94 kB / 487.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.2746, allocations: 157.7 kB / 487.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.2747, allocations: 54.59 kB / 487.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.2747, allocations: 3.938 kB / 487.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2748, allocations: 30.56 kB / 488 MB, free: 11.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2748, allocations: 0 / 488 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001788/0.275, allocations: 69.77 kB / 488 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.275, allocations: 55.41 kB / 488.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.2751, allocations: 100.9 kB / 488.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2751, allocations: 25.7 kB / 488.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.2751, allocations: 88.12 kB / 488.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.2751, allocations: 0 / 488.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-06/0.2751, allocations: 0 / 488.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.2752, allocations: 314.8 kB / 488.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.2753, allocations: 3.938 kB / 488.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.2753, allocations: 35.42 kB / 488.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.65e-05/0.2753, allocations: 4 kB / 488.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2753, allocations: 0 / 488.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.445e-05/0.2754, allocations: 57.55 kB / 488.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2754, allocations: 8.109 kB / 488.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2754, allocations: 8 kB / 488.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2754, allocations: 3.953 kB / 488.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.521e-05/0.2755, allocations: 8.188 kB / 488.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2755, allocations: 0 / 488.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.2755, allocations: 4 kB / 488.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.2755, allocations: 4 kB / 488.7 MB, free: 11.04 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.449e-05/0.2756, allocations: 117.8 kB / 488.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.2757, allocations: 49.69 kB / 488.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.2757, allocations: 11.5 kB / 488.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2757, allocations: 3.984 kB / 488.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2757, allocations: 3.953 kB / 488.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2757, allocations: 4 kB / 488.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.623e-05/0.2758, allocations: 145.7 kB / 489.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2758, allocations: 0 / 489.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.2759, allocations: 7.938 kB / 489.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2759, allocations: 0 / 489.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2759, allocations: 4 kB / 489.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2759, allocations: 0 / 489.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2759, allocations: 4 kB / 489.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.276, allocations: 89.38 kB / 489.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.2761, allocations: 85.02 kB / 489.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.2761, allocations: 0 / 489.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.2761, allocations: 3.938 kB / 489.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-06/0.2761, allocations: 3.938 kB / 489.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2761, allocations: 4 kB / 489.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.2762, allocations: 91.27 kB / 489.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2762, allocations: 0 / 489.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.2763, allocations: 3.953 kB / 489.4 MB, free: 10.32 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 7.93e-05/0.2764, allocations: 99.19 kB / 489.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.2765, allocations: 23.98 kB / 489.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.2765, allocations: 0 / 489.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.2765, allocations: 256 / 489.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.2767, allocations: 30.17 kB / 489.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/0.2769, allocations: 112.7 kB / 489.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.2771, allocations: 0.6848 MB / 490.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.129e-05/0.2771, allocations: 0 / 490.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.2772, allocations: 11.44 kB / 490.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2772, allocations: 4 kB / 490.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of Templates: time 0.001628/0.2788, allocations: 274.7 kB / 490.6 MB, free: 9.035 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches