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.001445/0.001445, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001605/0.001605, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.599/1.599, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002013/0.002013, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003083/0.3691, allocations: 1.512 MB / 433.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3701, allocations: 494.8 kB / 434 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.3702, allocations: 0 / 434 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.3703, allocations: 3.938 kB / 434 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.3705, allocations: 15.84 kB / 434.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.3707, allocations: 39.91 kB / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.3709, allocations: 55.78 kB / 434.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.371, allocations: 8 kB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.3711, allocations: 19.92 kB / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.3712, allocations: 23.92 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3712, allocations: 4 kB / 434.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.3712, allocations: 4 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.3712, allocations: 19.84 kB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.3713, allocations: 11.94 kB / 434.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.3714, allocations: 59.53 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3715, allocations: 0 / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.582e-06/0.3715, allocations: 8 kB / 434.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3715, allocations: 0 / 434.3 MB, free: 5.105 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.0007369/0.3722, allocations: 373 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3722, allocations: 8.031 kB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.3723, allocations: 12.89 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3727, allocations: 184.2 kB / 434.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3727, allocations: 8.359 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.3728, allocations: 4.375 kB / 434.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.3732, allocations: 151.5 kB / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3732, allocations: 0 / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3732, allocations: 0 / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3732, allocations: 0 / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3733, allocations: 27.98 kB / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.3736, allocations: 157.7 kB / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3739, allocations: 135.7 kB / 435.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.3739, allocations: 32.84 kB / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.374, allocations: 0 / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.374, allocations: 38.44 kB / 435.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.374, allocations: 0 / 435.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003251/0.3743, allocations: 93.56 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.3744, allocations: 51.41 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3745, allocations: 113.8 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3745, allocations: 29.7 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.3746, allocations: 88.12 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3746, allocations: 4 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3747, allocations: 17.72 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.3749, allocations: 318.8 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.3749, allocations: 11.88 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.375, allocations: 45.41 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.643e-05/0.3751, allocations: 61.08 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3751, allocations: 8 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001297/0.3752, allocations: 73.52 kB / 436.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3752, allocations: 11.94 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3752, allocations: 0 / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3753, allocations: 4 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.3753, allocations: 7.938 kB / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3753, allocations: 4 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.3753, allocations: 0 / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3754, allocations: 8.188 kB / 436.3 MB, free: 2.785 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.0001294/0.3755, allocations: 121.8 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.3756, allocations: 73.58 kB / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.3757, allocations: 8.375 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3757, allocations: 0 / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3757, allocations: 4 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3757, allocations: 7.922 kB / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3758, allocations: 157.7 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3758, allocations: 0 / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.3759, allocations: 8 kB / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3759, allocations: 7.938 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3759, allocations: 7.984 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3759, allocations: 0 / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3759, allocations: 0 / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3761, allocations: 93.06 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.3762, allocations: 85.05 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3762, allocations: 3.938 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.3763, allocations: 24.11 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-06/0.3763, allocations: 4 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.3763, allocations: 0 / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.606e-05/0.3764, allocations: 91.72 kB / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3764, allocations: 3.938 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000199/0.3766, allocations: 12 kB / 437 MB, free: 1.984 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.0001224/0.3767, allocations: 99.25 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.3768, allocations: 35.92 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3768, allocations: 4 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.3768, allocations: 0 / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3772, allocations: 40.17 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.3775, allocations: 141.8 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3778, allocations: 0.6923 MB / 438 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.796e-05/0.3779, allocations: 0 / 438 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.3779, allocations: 11.44 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3779, allocations: 0 / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of Templates: time 0.003449/0.3813, allocations: 0.6582 MB / 438.7 MB, free: 264 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.967531435191631]