Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 176.4 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 101.1 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003576, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2771, allocations: 50.4 MB / 402.8 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3854, allocations: 76.84 MB / 479.6 MB, free: 3.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.3858, allocations: 79.95 kB / 479.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00392/0.3897, allocations: 1.323 MB / 481 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3897, allocations: 0 / 481 MB, free: 2.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3898, allocations: 4 kB / 481 MB, free: 2.133 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.0004278/0.3902, allocations: 371.3 kB / 481.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.3902, allocations: 8.031 kB / 481.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.3903, allocations: 8.844 kB / 481.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3904, allocations: 180.4 kB / 481.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3905, allocations: 4.312 kB / 481.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3905, allocations: 12.38 kB / 481.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.3909, allocations: 139.8 kB / 481.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3909, allocations: 192 / 481.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3909, allocations: 3.938 kB / 481.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3909, allocations: 0 / 481.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.391, allocations: 31.98 kB / 481.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.3912, allocations: 169.6 kB / 481.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3914, allocations: 143.6 kB / 482 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.388e-05/0.3915, allocations: 32.84 kB / 482.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3915, allocations: 4 kB / 482.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3915, allocations: 34.56 kB / 482.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3915, allocations: 0 / 482.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002523/0.3918, allocations: 85.61 kB / 482.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3919, allocations: 59.41 kB / 482.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.3919, allocations: 109.8 kB / 482.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.392, allocations: 29.7 kB / 482.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.392, allocations: 88.14 kB / 482.5 MB, free: 432 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.392, allocations: 11.89 kB / 482.5 MB, free: 420 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-06/0.392, allocations: 0 / 482.5 MB, free: 420 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3922, allocations: 310.8 kB / 482.8 MB, free: 100 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.3922, allocations: 8 kB / 482.8 MB, free: 92 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.3923, allocations: 45.45 kB / 482.8 MB, free: 28 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.878e-05/0.3924, allocations: 53.09 kB / 482.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3924, allocations: 3.938 kB / 482.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.3925, allocations: 77.81 kB / 483 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3925, allocations: 8 kB / 483 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3925, allocations: 3.938 kB / 483 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3926, allocations: 4 kB / 483 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/0.3926, allocations: 15.92 kB / 483 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3926, allocations: 4.156 kB / 483 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.3926, allocations: 0 / 483 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3927, allocations: 4 kB / 483 MB, free: 15.83 MB / 362.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 () * Number of clocked states: 1 (pulse.next) * 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 9.96e-05/0.3928, allocations: 122 kB / 483.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3929, allocations: 77.52 kB / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.393, allocations: 16.31 kB / 483.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.393, allocations: 0 / 483.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.393, allocations: 0 / 483.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.393, allocations: 0 / 483.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.3931, allocations: 157.7 kB / 483.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3931, allocations: 3.984 kB / 483.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.3932, allocations: 8 kB / 483.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3932, allocations: 4 kB / 483.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3932, allocations: 3.938 kB / 483.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3932, allocations: 3.984 kB / 483.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3932, allocations: 0 / 483.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.3934, allocations: 101 kB / 483.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3934, allocations: 85.02 kB / 483.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3934, allocations: 3.938 kB / 483.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.3935, allocations: 19.98 kB / 483.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-06/0.3935, allocations: 3.938 kB / 483.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3935, allocations: 3.984 kB / 483.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.443e-05/0.3936, allocations: 87.28 kB / 483.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3936, allocations: 0 / 483.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.3938, allocations: 8 kB / 483.7 MB, free: 15.03 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * 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 0.0001138/0.3939, allocations: 107.4 kB / 483.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.394, allocations: 43.91 kB / 483.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.394, allocations: 3.938 kB / 483.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.394, allocations: 0 / 483.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3944, allocations: 36.89 kB / 483.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.3948, allocations: 149 kB / 484 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.3952, allocations: 0.6848 MB / 484.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.912e-05/0.3952, allocations: 4 kB / 484.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.3953, allocations: 11.44 kB / 484.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3953, allocations: 0 / 484.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Templates: time 0.002758/0.398, allocations: 0.5651 MB / 485.3 MB, free: 13.38 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches