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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 201.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4015, allocations: 50.54 MB / 409.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003011/0.4046, allocations: 1.484 MB / 410.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.4055, allocations: 494.8 kB / 411.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.4056, allocations: 0 / 411.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.4057, allocations: 3.938 kB / 411.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.4058, allocations: 15.86 kB / 411.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.406, allocations: 35.91 kB / 411.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.4062, allocations: 55.77 kB / 411.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.4063, allocations: 11.98 kB / 411.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.4064, allocations: 23.92 kB / 411.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.4064, allocations: 27.91 kB / 411.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.4065, allocations: 4 kB / 411.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.4065, allocations: 4 kB / 411.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.4065, allocations: 15.92 kB / 411.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.4066, allocations: 23.86 kB / 411.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.4067, allocations: 43.81 kB / 411.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.4067, allocations: 0 / 411.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4067, allocations: 0 / 411.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4067, allocations: 0 / 411.5 MB, free: 15.54 MB / 334.1 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.0006893/0.4074, allocations: 379.2 kB / 411.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4075, allocations: 16.02 kB / 411.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.4075, allocations: 4.844 kB / 411.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.4079, allocations: 193.6 kB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4079, allocations: 384 / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.4079, allocations: 4.375 kB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.4083, allocations: 147.5 kB / 412.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4083, allocations: 0 / 412.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.4083, allocations: 4 kB / 412.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4084, allocations: 4 kB / 412.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.4085, allocations: 27.98 kB / 412.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.4087, allocations: 161.6 kB / 412.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.4089, allocations: 131.7 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.409, allocations: 28.84 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.409, allocations: 4 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.409, allocations: 46.44 kB / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 3.085e-06/0.409, allocations: 0 / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000287/0.4093, allocations: 89.59 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.4094, allocations: 63.31 kB / 412.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4095, allocations: 105.8 kB / 412.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.4096, allocations: 29.7 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.4096, allocations: 84.14 kB / 413 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4096, allocations: 8 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.4097, allocations: 17.72 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4099, allocations: 318.8 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.4099, allocations: 8 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.4099, allocations: 45.08 kB / 413.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/0.41, allocations: 53.09 kB / 413.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.41, allocations: 0 / 413.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002094/0.4102, allocations: 81.5 kB / 413.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4103, allocations: 7.938 kB / 413.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4103, allocations: 4 kB / 413.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4103, allocations: 3.938 kB / 413.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.4104, allocations: 11.98 kB / 413.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.4104, allocations: 4.406 kB / 413.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.4104, allocations: 8 kB / 413.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4104, allocations: 4 kB / 413.5 MB, free: 13.21 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.409e-05/0.4105, allocations: 121.9 kB / 413.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.4107, allocations: 61.62 kB / 413.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.4108, allocations: 16.36 kB / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4108, allocations: 0 / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4108, allocations: 0 / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4108, allocations: 0 / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.4109, allocations: 173.4 kB / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4109, allocations: 0 / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.411, allocations: 11.98 kB / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.411, allocations: 3.938 kB / 413.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.411, allocations: 4 kB / 413.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.411, allocations: 320 / 413.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.411, allocations: 0 / 413.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.4112, allocations: 97.11 kB / 414 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.4113, allocations: 92.94 kB / 414.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4113, allocations: 7.938 kB / 414.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.4114, allocations: 15.98 kB / 414.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-06/0.4114, allocations: 0 / 414.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4114, allocations: 7.984 kB / 414.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.4115, allocations: 87.27 kB / 414.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.89e-06/0.4115, allocations: 0 / 414.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.4117, allocations: 11.94 kB / 414.2 MB, free: 12.41 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.4118, allocations: 99.25 kB / 414.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.412, allocations: 47.91 kB / 414.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.412, allocations: 0 / 414.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.412, allocations: 0 / 414.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.4123, allocations: 37.77 kB / 414.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.4126, allocations: 129.6 kB / 414.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.4129, allocations: 0.6884 MB / 415.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.055e-05/0.413, allocations: 11.94 kB / 415.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.413, allocations: 11.44 kB / 415.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.413, allocations: 0 / 415.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of Templates: time 0.002862/0.4159, allocations: 0.6366 MB / 415.9 MB, free: 10.7 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches