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.002389/0.002389, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002627/0.002627, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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.502/1.502, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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.653e-06/1.653e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.607e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002829/0.002855, allocations: 1.499 MB / 268.8 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00087/0.003725, allocations: 446.6 kB / 269.3 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.00379, allocations: 0 / 269.3 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.003816, allocations: 3.938 kB / 269.3 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.003976, allocations: 23.84 kB / 269.3 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.004154, allocations: 35.84 kB / 269.3 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.004265, allocations: 51.78 kB / 269.4 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.004343, allocations: 8 kB / 269.4 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.004438, allocations: 35.89 kB / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.004485, allocations: 15.98 kB / 269.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.004505, allocations: 4 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.004518, allocations: 4 kB / 269.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.004547, allocations: 11.92 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.004585, allocations: 15.98 kB / 269.5 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.004707, allocations: 47.88 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.00471, allocations: 0 / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00471, allocations: 0 / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.004718, allocations: 3.984 kB / 269.5 MB, free: 4.535 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.0006239/0.005342, allocations: 400 kB / 269.9 MB, free: 4.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.005379, allocations: 12.03 kB / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.00543, allocations: 12.89 kB / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.005643, allocations: 128.5 kB / 270.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.005659, allocations: 4.375 kB / 270.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.005671, allocations: 4.375 kB / 270.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.006066, allocations: 161.3 kB / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006074, allocations: 192 / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.006083, allocations: 384 / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.006091, allocations: 11.94 kB / 270.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.006208, allocations: 27.92 kB / 270.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.006375, allocations: 124.6 kB / 270.4 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.006593, allocations: 63.09 kB / 270.4 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.00668, allocations: 31.69 kB / 270.5 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.006704, allocations: 3.984 kB / 270.5 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.006738, allocations: 37.39 kB / 270.5 MB, free: 3.398 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.006738, allocations: 0 / 270.5 MB, free: 3.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002899/0.007028, allocations: 93.55 kB / 270.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.007095, allocations: 67.3 kB / 270.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.007256, allocations: 173.9 kB / 270.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.007288, allocations: 25.7 kB / 270.9 MB, free: 3.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.007374, allocations: 134.9 kB / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.007384, allocations: 0 / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.007429, allocations: 23.36 kB / 271 MB, free: 2.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.007697, allocations: 496.1 kB / 271.5 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.00771, allocations: 4 kB / 271.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-06/0.007715, allocations: 0 / 271.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.402e-05/0.007749, allocations: 23.69 kB / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007751, allocations: 0 / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.297e-05/0.007824, allocations: 45.69 kB / 271.6 MB, free: 2.258 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.007836, allocations: 4 kB / 271.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.00784, allocations: 0 / 271.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.007852, allocations: 0 / 271.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.007886, allocations: 4 kB / 271.6 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007892, allocations: 3.938 kB / 271.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.007909, allocations: 0 / 271.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.007915, allocations: 4 kB / 271.6 MB, free: 2.242 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 0.0001183/0.008033, allocations: 160.6 kB / 271.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.008207, allocations: 81.55 kB / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.008246, allocations: 8.438 kB / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.008247, allocations: 0 / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.008255, allocations: 7.938 kB / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.008257, allocations: 0 / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.008365, allocations: 116.6 kB / 272 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.008366, allocations: 320 / 272 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.008422, allocations: 12 kB / 272 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.008426, allocations: 3.984 kB / 272 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.008434, allocations: 4 kB / 272 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008436, allocations: 0 / 272 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008436, allocations: 0 / 272 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.00865, allocations: 124.2 kB / 272.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.00866, allocations: 0 / 272.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.00868, allocations: 7.938 kB / 272.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.008752, allocations: 11.98 kB / 272.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-06/0.008754, allocations: 0 / 272.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.00876, allocations: 0 / 272.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.008845, allocations: 139.1 kB / 272.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008846, allocations: 0 / 272.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000177/0.009022, allocations: 8 kB / 272.3 MB, free: 1.492 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 0.0001258/0.009148, allocations: 103.2 kB / 272.4 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.009283, allocations: 35.67 kB / 272.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009284, allocations: 0 / 272.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.009285, allocations: 0 / 272.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.009593, allocations: 41.98 kB / 272.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.009923, allocations: 148.2 kB / 272.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.799e-05/0.009991, allocations: 67.34 kB / 272.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.313e-05/0.01, allocations: 0 / 272.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.01004, allocations: 8.5 kB / 272.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01004, allocations: 0 / 272.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of Templates: time 0.003323/0.01336, allocations: 0.6722 MB / 273.3 MB, free: 380 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.2203671059105545]