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: 181.3 kB / 16.39 MB, free: 5.766 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.304/1.304, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009993/0.0009995, allocations: 101.8 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002629, allocations: 8 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.298, allocations: 50.4 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3988, allocations: 76.81 MB / 478.3 MB, free: 3.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.3991, allocations: 79.95 kB / 478.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00367/0.4028, allocations: 1.328 MB / 479.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4028, allocations: 0 / 479.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.4028, allocations: 3.938 kB / 479.7 MB, free: 2.262 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.00047/0.4033, allocations: 367.2 kB / 480.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4033, allocations: 12.03 kB / 480.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.4034, allocations: 7.859 kB / 480.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.4035, allocations: 183 kB / 480.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4036, allocations: 0 / 480.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.4036, allocations: 4 kB / 480.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.4039, allocations: 147.2 kB / 480.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4039, allocations: 0 / 480.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.404, allocations: 0 / 480.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.404, allocations: 0 / 480.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4041, allocations: 35.94 kB / 480.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.4042, allocations: 161.6 kB / 480.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.4044, allocations: 139.7 kB / 480.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.4045, allocations: 0 / 480.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.4045, allocations: 34.56 kB / 480.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.4045, allocations: 3.984 kB / 480.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002526/0.4047, allocations: 93.64 kB / 480.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4048, allocations: 59.41 kB / 480.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.4049, allocations: 101 kB / 481 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.4049, allocations: 29.7 kB / 481.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.4049, allocations: 84.14 kB / 481.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.405, allocations: 3.984 kB / 481.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.405, allocations: 0 / 481.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.4051, allocations: 322.8 kB / 481.5 MB, free: 288 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.4051, allocations: 4 kB / 481.5 MB, free: 284 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.4051, allocations: 45.14 kB / 481.5 MB, free: 220 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.4052, allocations: 15.94 kB / 481.5 MB, free: 204 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4052, allocations: 0 / 481.5 MB, free: 204 kB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.658e-05/0.4053, allocations: 89.34 kB / 481.6 MB, free: 108 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4053, allocations: 4 kB / 481.6 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4053, allocations: 4 kB / 481.6 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4053, allocations: 0 / 481.6 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.4054, allocations: 15.98 kB / 481.6 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4054, allocations: 0 / 481.6 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.4054, allocations: 4 kB / 481.6 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.4054, allocations: 0 / 481.6 MB, free: 80 kB / 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 () * 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 8.552e-05/0.4055, allocations: 129.9 kB / 481.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.4057, allocations: 69.92 kB / 481.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.4057, allocations: 12.38 kB / 481.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4057, allocations: 64 / 481.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4057, allocations: 4 kB / 481.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4057, allocations: 0 / 481.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.4058, allocations: 169.5 kB / 482 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4058, allocations: 0 / 482 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.4059, allocations: 11.98 kB / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4059, allocations: 0 / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4059, allocations: 4 kB / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4059, allocations: 0 / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4059, allocations: 0 / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.4061, allocations: 105 kB / 482.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.4062, allocations: 81.02 kB / 482.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.4062, allocations: 4 kB / 482.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.4063, allocations: 15.98 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-06/0.4063, allocations: 0 / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4063, allocations: 3.984 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.878e-05/0.4063, allocations: 87.28 kB / 482.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4063, allocations: 0 / 482.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000185/0.4065, allocations: 12 kB / 482.3 MB, free: 15.28 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 9.506e-05/0.4066, allocations: 99.25 kB / 482.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.4068, allocations: 39.92 kB / 482.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4068, allocations: 0 / 482.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.4068, allocations: 3.938 kB / 482.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4071, allocations: 58.8 kB / 482.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.4074, allocations: 141.1 kB / 482.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.4076, allocations: 0.6887 MB / 483.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.09e-05/0.4077, allocations: 192 / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.4077, allocations: 11.44 kB / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4077, allocations: 0 / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Templates: time 0.002419/0.4101, allocations: 0.5689 MB / 483.9 MB, free: 13.62 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/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