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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008701/0.0008701, allocations: 147.1 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1/1, allocations: 173.4 MB / 201.5 MB, free: 8.73 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 4 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.623e-05, allocations: 6.25 kB / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00184/0.001857, allocations: 1.573 MB / 270.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005956/0.002452, allocations: 462.6 kB / 270.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.002503, allocations: 7.938 kB / 270.5 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.002527, allocations: 3.938 kB / 270.5 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.002645, allocations: 7.922 kB / 270.6 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.002773, allocations: 31.84 kB / 270.6 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.674e-05/0.00285, allocations: 55.84 kB / 270.6 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.23e-05/0.002912, allocations: 11.98 kB / 270.7 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.002982, allocations: 35.84 kB / 270.7 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.233e-05/0.003014, allocations: 19.92 kB / 270.7 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.00303, allocations: 4 kB / 270.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.003038, allocations: 4 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.003057, allocations: 15.97 kB / 270.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.003075, allocations: 11.94 kB / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003194, allocations: 35.89 kB / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003196, allocations: 0 / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003197, allocations: 0 / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.0032, allocations: 0 / 270.8 MB, free: 3.691 MB / 250.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.0002788/0.003479, allocations: 268.8 kB / 271 MB, free: 3.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.003505, allocations: 12.02 kB / 271 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.194e-05/0.003527, allocations: 4.938 kB / 271.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.003635, allocations: 133.6 kB / 271.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.003646, allocations: 384 / 271.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.003652, allocations: 8.375 kB / 271.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.00381, allocations: 132.4 kB / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.003816, allocations: 192 / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-06/0.003821, allocations: 384 / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003826, allocations: 3.938 kB / 271.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.003847, allocations: 8 kB / 271.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.273e-05/0.0039, allocations: 61.03 kB / 271.4 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.003973, allocations: 50.5 kB / 271.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.003991, allocations: 16.84 kB / 271.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.004002, allocations: 0 / 271.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.004021, allocations: 42.56 kB / 271.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 5.61e-07/0.004021, allocations: 0 / 271.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 9.317e-05/0.004114, allocations: 49.69 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.004151, allocations: 59.41 kB / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.853e-05/0.004199, allocations: 110.7 kB / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.004207, allocations: 25.7 kB / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.015e-05/0.004228, allocations: 92.06 kB / 271.8 MB, free: 2.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.004237, allocations: 11.94 kB / 271.8 MB, free: 2.484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.004255, allocations: 13.72 kB / 271.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.004316, allocations: 318.8 kB / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-06/0.00432, allocations: 0 / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.004326, allocations: 4 kB / 272.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.516e-05/0.004341, allocations: 12.84 kB / 272.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.004342, allocations: 0 / 272.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.114e-05/0.004373, allocations: 33.7 kB / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004383, allocations: 10.97 kB / 272.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.004387, allocations: 4.094 kB / 272.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.004395, allocations: 0 / 272.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.292e-05/0.004418, allocations: 11.88 kB / 272.2 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.00442, allocations: 0 / 272.2 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.004432, allocations: 7.922 kB / 272.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-06/0.004434, allocations: 0 / 272.3 MB, free: 2.055 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.352e-05/0.004478, allocations: 109.8 kB / 272.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.00451, allocations: 41.69 kB / 272.4 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.00453, allocations: 16.44 kB / 272.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004532, allocations: 0 / 272.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.004533, allocations: 4 kB / 272.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004535, allocations: 0 / 272.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.882e-05/0.004573, allocations: 73.77 kB / 272.5 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004574, allocations: 0 / 272.5 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.004599, allocations: 8 kB / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.004601, allocations: 0 / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.004606, allocations: 7.922 kB / 272.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.004606, allocations: 0 / 272.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004607, allocations: 320 / 272.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.857e-05/0.004636, allocations: 53.08 kB / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.004644, allocations: 7.953 kB / 272.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.004655, allocations: 12 kB / 272.6 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.691e-05/0.004682, allocations: 11.98 kB / 272.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-06/0.004684, allocations: 0 / 272.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.004687, allocations: 4 kB / 272.6 MB, free: 1.656 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.202e-05/0.004699, allocations: 16.83 kB / 272.6 MB, free: 1.637 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004699, allocations: 0 / 272.6 MB, free: 1.637 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.223e-05/0.004792, allocations: 8 kB / 272.6 MB, free: 1.629 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.278e-05/0.004844, allocations: 80.42 kB / 272.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.752e-05/0.004892, allocations: 24.78 kB / 272.7 MB, free: 1.516 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.004895, allocations: 4 kB / 272.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.004895, allocations: 0 / 272.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.005019, allocations: 26.48 kB / 272.8 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001544/0.005173, allocations: 126.5 kB / 272.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.302e-05/0.005196, allocations: 63.28 kB / 272.9 MB, free: 1.254 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.778e-06/0.005206, allocations: 0 / 272.9 MB, free: 1.254 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.005245, allocations: 59.44 kB / 273 MB, free: 1.195 MB / 250.7 MB Notification: Performance of SimCode: time 4.4e-07/0.005246, allocations: 3.938 kB / 273 MB, free: 1.191 MB / 250.7 MB Notification: Performance of Templates: time 0.001761/0.007007, allocations: 0.7018 MB / 273.7 MB, free: 500 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.543919846881181]