Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, 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.495/1.495, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 107.7 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.637e-05, allocations: 4 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 51.48 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/0.4368, allocations: 76.89 MB / 472.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4371, allocations: 77.7 kB / 472.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003983/0.4411, allocations: 1.373 MB / 473.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4411, allocations: 0 / 473.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.4412, allocations: 0 / 473.5 MB, free: 13.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004336/0.4416, allocations: 361 kB / 473.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.4417, allocations: 8.781 kB / 473.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.4417, allocations: 6.812 kB / 473.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.4419, allocations: 181.4 kB / 474.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.442, allocations: 4.859 kB / 474.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.442, allocations: 0 / 474.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001246/0.4421, allocations: 25.39 kB / 474.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.4424, allocations: 133.5 kB / 474.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4424, allocations: 2.812 kB / 474.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4424, allocations: 0 / 474.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4424, allocations: 0 / 474.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.4426, allocations: 139 kB / 474.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4427, allocations: 128.2 kB / 474.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.4428, allocations: 29.05 kB / 474.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.4428, allocations: 0.7031 kB / 474.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.4428, allocations: 33.5 kB / 474.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.4428, allocations: 0 / 474.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001454/0.443, allocations: 60.41 kB / 474.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.443, allocations: 51.41 kB / 474.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.4431, allocations: 102.8 kB / 474.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.4431, allocations: 29.7 kB / 474.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.4431, allocations: 88.52 kB / 474.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.4432, allocations: 4.766 kB / 474.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.4432, allocations: 0 / 474.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.257e-05/0.4432, allocations: 312.2 kB / 475.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.4433, allocations: 7.875 kB / 475.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.4433, allocations: 51.06 kB / 475.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.4433, allocations: 8.922 kB / 475.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4433, allocations: 0 / 475.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.189e-05/0.4434, allocations: 64.5 kB / 475.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.4434, allocations: 12.78 kB / 475.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4434, allocations: 0 / 475.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4435, allocations: 4 kB / 475.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.4435, allocations: 9.391 kB / 475.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4435, allocations: 7.953 kB / 475.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.4436, allocations: 4.688 kB / 475.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4436, allocations: 4 kB / 475.3 MB, free: 11.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.484e-05/0.4436, allocations: 104.2 kB / 475.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.4437, allocations: 68.69 kB / 475.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.4437, allocations: 13.17 kB / 475.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.4438, allocations: 0 / 475.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4438, allocations: 0.7969 kB / 475.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4438, allocations: 7.953 kB / 475.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.581e-05/0.4438, allocations: 138.7 kB / 475.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4439, allocations: 0 / 475.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.4439, allocations: 6.062 kB / 475.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4439, allocations: 0 / 475.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4439, allocations: 0.6562 kB / 475.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4439, allocations: 4 kB / 475.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4439, allocations: 4 kB / 475.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.123e-05/0.444, allocations: 92.8 kB / 475.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.4441, allocations: 81.8 kB / 475.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4441, allocations: 0 / 475.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.4442, allocations: 16.27 kB / 475.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-06/0.4442, allocations: 0 / 475.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4442, allocations: 11.72 kB / 475.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.4442, allocations: 90.16 kB / 476 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4443, allocations: 1.781 kB / 476 MB, free: 11.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001991/0.4445, allocations: 8 kB / 476 MB, free: 11.02 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.559e-05/0.4445, allocations: 96.23 kB / 476.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.4446, allocations: 32.14 kB / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4447, allocations: 0 / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-07/0.4447, allocations: 384 / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.4449, allocations: 32.94 kB / 476.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.4451, allocations: 82.42 kB / 476.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.4453, allocations: 0.6881 MB / 476.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.443e-05/0.4453, allocations: 4.938 kB / 476.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.4454, allocations: 12.19 kB / 476.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4454, allocations: 0 / 476.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of Templates: time 0.00248/0.4479, allocations: 0.5433 MB / 477.5 MB, free: 9.762 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches