Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001872/0.001872, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002748/0.002748, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.715/1.715, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 72.77 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3946, allocations: 53.37 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.004425/0.399, allocations: 1.497 MB / 433.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.4005, allocations: 0.4948 MB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.4006, allocations: 0 / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.932e-05/0.4007, allocations: 3.938 kB / 434.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.4009, allocations: 19.91 kB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.4012, allocations: 39.83 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.4014, allocations: 55.78 kB / 434.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.4016, allocations: 7.797 kB / 434.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.4017, allocations: 31.86 kB / 434.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.4018, allocations: 23.91 kB / 434.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.4018, allocations: 4 kB / 434.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.4018, allocations: 4 kB / 434.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.4019, allocations: 11.92 kB / 434.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.4019, allocations: 19.94 kB / 434.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.4021, allocations: 47.8 kB / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4021, allocations: 0 / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4021, allocations: 0 / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.4021, allocations: 0 / 434.7 MB, free: 4.719 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.0008651/0.403, allocations: 301.1 kB / 435 MB, free: 4.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.4031, allocations: 12.03 kB / 435 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.4031, allocations: 8.891 kB / 435 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.4035, allocations: 130.4 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.4036, allocations: 8.375 kB / 435.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.4036, allocations: 384 / 435.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.4041, allocations: 143.5 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4041, allocations: 0 / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4041, allocations: 4 kB / 435.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4042, allocations: 4 kB / 435.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.4043, allocations: 27.98 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.4046, allocations: 132.7 kB / 435.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.4048, allocations: 58.56 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.4049, allocations: 32.84 kB / 435.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.4049, allocations: 0 / 435.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.405, allocations: 42.44 kB / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.405, allocations: 3.938 kB / 435.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003607/0.4053, allocations: 89.62 kB / 435.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.4054, allocations: 59.33 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.4055, allocations: 113.8 kB / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.4056, allocations: 29.69 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.4056, allocations: 80.14 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.4057, allocations: 12 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.4057, allocations: 21.7 kB / 436 MB, free: 3.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4059, allocations: 314.8 kB / 436.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/0.4059, allocations: 8 kB / 436.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.814e-05/0.406, allocations: 49.14 kB / 436.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.4062, allocations: 57.09 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4062, allocations: 0 / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000199/0.4064, allocations: 77.52 kB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4064, allocations: 15.88 kB / 436.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4064, allocations: 0 / 436.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.4065, allocations: 4 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.4065, allocations: 4 kB / 436.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.4065, allocations: 7.984 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.4066, allocations: 0 / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4066, allocations: 4 kB / 436.5 MB, free: 2.684 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 0.000161/0.4068, allocations: 122 kB / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.407, allocations: 77.52 kB / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.407, allocations: 12.36 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.407, allocations: 0 / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.407, allocations: 4 kB / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.407, allocations: 0 / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.4072, allocations: 128.7 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4072, allocations: 0 / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.4073, allocations: 11.98 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.4073, allocations: 4.25 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4073, allocations: 4 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.4073, allocations: 4 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4073, allocations: 0 / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.4076, allocations: 108.9 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.4076, allocations: 7.922 kB / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.4077, allocations: 0 / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4078, allocations: 23.98 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-06/0.4078, allocations: 0 / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.4078, allocations: 0 / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.4079, allocations: 87.27 kB / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4079, allocations: 0 / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.4083, allocations: 15.94 kB / 437.1 MB, free: 2.004 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.0001612/0.4084, allocations: 95.25 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.4086, allocations: 39.92 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.4087, allocations: 0 / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.4087, allocations: 0 / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.4091, allocations: 39.94 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.4096, allocations: 137.6 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.4102, allocations: 0.6849 MB / 438.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.4102, allocations: 8 kB / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.4102, allocations: 11.44 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4102, allocations: 0 / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of Templates: time 0.004898/0.4151, allocations: 0.6695 MB / 438.8 MB, free: 284 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1551364082843065]