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.001046/0.001046, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007733/0.0007736, allocations: 98.23 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.6e-05, allocations: 4 kB / 343.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 51.48 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/0.4513, allocations: 76.17 MB / 471.3 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4515, allocations: 77.11 kB / 471.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001484/0.453, allocations: 0.677 MB / 472.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4531, allocations: 0 / 472.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.4531, allocations: 0 / 472.1 MB, free: 14.55 MB / 346.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.0002318/0.4533, allocations: 333.1 kB / 472.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4534, allocations: 10.72 kB / 472.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.4534, allocations: 4.125 kB / 472.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.4536, allocations: 173.9 kB / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4536, allocations: 0.8594 kB / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.4536, allocations: 0 / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.26e-05/0.4537, allocations: 13.12 kB / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4538, allocations: 88.34 kB / 472.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.4539, allocations: 0 / 472.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.4539, allocations: 4 kB / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.4539, allocations: 0 / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.558e-05/0.454, allocations: 130 kB / 472.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.4541, allocations: 47.66 kB / 472.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.4541, allocations: 16.64 kB / 472.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.4541, allocations: 0 / 472.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.4541, allocations: 32.16 kB / 472.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.4541, allocations: 0 / 472.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001184/0.4543, allocations: 55.14 kB / 473 MB, free: 13.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.4543, allocations: 56.25 kB / 473 MB, free: 13.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.4544, allocations: 105.2 kB / 473.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.4544, allocations: 25.7 kB / 473.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.951e-05/0.4544, allocations: 80.14 kB / 473.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-06/0.4544, allocations: 1.172 kB / 473.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.4544, allocations: 0 / 473.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.4545, allocations: 320.2 kB / 473.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-06/0.4545, allocations: 3.938 kB / 473.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.4545, allocations: 23.44 kB / 473.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.477e-05/0.4545, allocations: 17.58 kB / 473.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4545, allocations: 0 / 473.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.221e-05/0.4546, allocations: 44.73 kB / 473.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.4546, allocations: 8 kB / 473.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.4546, allocations: 0 / 473.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4546, allocations: 128 / 473.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.4547, allocations: 9.406 kB / 473.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4547, allocations: 3.953 kB / 473.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.4547, allocations: 4 kB / 473.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.4547, allocations: 5.969 kB / 473.7 MB, free: 12.87 MB / 346.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 () * 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 4.416e-05/0.4548, allocations: 110.3 kB / 473.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.4548, allocations: 44.03 kB / 473.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.4548, allocations: 8.125 kB / 473.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4549, allocations: 0 / 473.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4549, allocations: 1.406 kB / 473.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4549, allocations: 7.953 kB / 473.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.383e-05/0.4549, allocations: 137.5 kB / 474 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4549, allocations: 0 / 474 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.4549, allocations: 1.312 kB / 474 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.455, allocations: 4 kB / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.455, allocations: 0 / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.455, allocations: 0 / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.455, allocations: 0 / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.538e-05/0.455, allocations: 79.86 kB / 474.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.4551, allocations: 81.11 kB / 474.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.4551, allocations: 3.688 kB / 474.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.4551, allocations: 0 / 474.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-06/0.4551, allocations: 0 / 474.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.4551, allocations: 4 kB / 474.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.957e-05/0.4552, allocations: 79.95 kB / 474.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4552, allocations: 0 / 474.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000185/0.4554, allocations: 4 kB / 474.2 MB, free: 12.27 MB / 346.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 () * 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.772e-05/0.4554, allocations: 100.7 kB / 474.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.778e-05/0.4555, allocations: 18.5 kB / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4555, allocations: 3.938 kB / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.4555, allocations: 1.219 kB / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.4557, allocations: 16.95 kB / 474.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001341/0.4558, allocations: 61.89 kB / 474.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.4559, allocations: 0.6826 MB / 475.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.186e-05/0.456, allocations: 5.641 kB / 475.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.456, allocations: 11.44 kB / 475.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.456, allocations: 0 / 475.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of Templates: time 0.001656/0.4576, allocations: 273.2 kB / 475.4 MB, free: 11.19 MB / 346.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