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.000945/0.0009449, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.367/1.367, allocations: 221.4 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000782/0.000782, allocations: 99.78 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.954e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.08826, allocations: 50.41 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3043/0.3926, allocations: 76.75 MB / 471 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.3929, allocations: 79.95 kB / 471.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003932/0.3968, allocations: 1.309 MB / 472.4 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3969, allocations: 4 kB / 472.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3969, allocations: 0 / 472.4 MB, free: 9.43 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.00041/0.3973, allocations: 347.2 kB / 472.7 MB, free: 9.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3974, allocations: 8.031 kB / 472.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.3974, allocations: 19.78 kB / 472.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3976, allocations: 178.9 kB / 472.9 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3976, allocations: 12 kB / 472.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.3976, allocations: 7.938 kB / 472.9 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3979, allocations: 127.2 kB / 473.1 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.3979, allocations: 0 / 473.1 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3979, allocations: 3.984 kB / 473.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.398, allocations: 0 / 473.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.639e-05/0.398, allocations: 31.95 kB / 473.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.3982, allocations: 157.7 kB / 473.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3983, allocations: 131.7 kB / 473.4 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.3984, allocations: 24.98 kB / 473.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3984, allocations: 0 / 473.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.3984, allocations: 34.56 kB / 473.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.3984, allocations: 4 kB / 473.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001611/0.3986, allocations: 61.69 kB / 473.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3987, allocations: 51.41 kB / 473.6 MB, free: 8.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.3988, allocations: 113.5 kB / 473.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3988, allocations: 25.7 kB / 473.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.3988, allocations: 84.14 kB / 473.8 MB, free: 7.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.3988, allocations: 7.906 kB / 473.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.3989, allocations: 4 kB / 473.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.3989, allocations: 322.8 kB / 474.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.399, allocations: 8 kB / 474.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.103e-05/0.399, allocations: 41.47 kB / 474.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.3991, allocations: 12 kB / 474.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3991, allocations: 0 / 474.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.409e-05/0.3992, allocations: 73.56 kB / 474.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3992, allocations: 5.25 kB / 474.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3992, allocations: 3.984 kB / 474.2 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3992, allocations: 4 kB / 474.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.3993, allocations: 12.12 kB / 474.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3993, allocations: 8.094 kB / 474.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.3993, allocations: 11.94 kB / 474.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3993, allocations: 3.984 kB / 474.3 MB, free: 7.277 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 6.79e-05/0.3994, allocations: 108.9 kB / 474.4 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.3995, allocations: 69.53 kB / 474.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.3995, allocations: 8.625 kB / 474.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3996, allocations: 0 / 474.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3996, allocations: 0 / 474.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3996, allocations: 4 kB / 474.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.3997, allocations: 169.6 kB / 474.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3997, allocations: 0 / 474.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-05/0.3998, allocations: 4.125 kB / 474.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3998, allocations: 8 kB / 474.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3998, allocations: 3.984 kB / 474.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3998, allocations: 0 / 474.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3998, allocations: 0 / 474.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3999, allocations: 100.9 kB / 474.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.4, allocations: 89.05 kB / 474.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.4, allocations: 0 / 474.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.4001, allocations: 15.98 kB / 474.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.4001, allocations: 0 / 474.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4001, allocations: 0 / 474.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.4002, allocations: 91.27 kB / 474.9 MB, free: 6.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4002, allocations: 0 / 474.9 MB, free: 6.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.4004, allocations: 8 kB / 474.9 MB, free: 6.508 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 0.0001085/0.4005, allocations: 103.2 kB / 475.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.647e-05/0.4006, allocations: 35.94 kB / 475.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4006, allocations: 0 / 475.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.4006, allocations: 0 / 475.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.4008, allocations: 35.97 kB / 475.1 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.4011, allocations: 85.17 kB / 475.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.4013, allocations: 0.6926 MB / 475.9 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.227e-05/0.4013, allocations: 4.188 kB / 475.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.4014, allocations: 11.44 kB / 475.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4014, allocations: 0 / 475.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of Templates: time 0.002398/0.4038, allocations: 0.5637 MB / 476.5 MB, free: 4.934 MB / 346.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/jenkins/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