Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2778, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00316/0.281, allocations: 1.489 MB / 433.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.282, allocations: 470.8 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.2821, allocations: 0 / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.2821, allocations: 7.922 kB / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.2823, allocations: 11.94 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.2825, allocations: 39.52 kB / 434.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2826, allocations: 51.8 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2827, allocations: 15.78 kB / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.2828, allocations: 27.86 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.2828, allocations: 27.91 kB / 434.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2829, allocations: 4 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.2829, allocations: 4 kB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.2829, allocations: 4 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.283, allocations: 23.86 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2831, allocations: 39.88 kB / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2831, allocations: 0 / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2831, allocations: 0 / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2831, allocations: 0 / 434.5 MB, free: 4.504 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.0005934/0.2837, allocations: 301.1 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2837, allocations: 12.03 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.2838, allocations: 4.891 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.284, allocations: 134.3 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.284, allocations: 12.31 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.284, allocations: 8.375 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.2844, allocations: 143.5 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2844, allocations: 0 / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2844, allocations: 0 / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2844, allocations: 0 / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2845, allocations: 31.92 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.2847, allocations: 109.3 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2849, allocations: 58.56 kB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.2849, allocations: 28.84 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.285, allocations: 0 / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.285, allocations: 34.56 kB / 435.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.285, allocations: 0 / 435.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002807/0.2853, allocations: 97.67 kB / 435.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.2853, allocations: 55.47 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2854, allocations: 110.1 kB / 435.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2855, allocations: 29.7 kB / 435.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.2855, allocations: 88.14 kB / 435.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.2855, allocations: 0 / 435.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.2856, allocations: 17.72 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2857, allocations: 322.8 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.2857, allocations: 8 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.2858, allocations: 53.2 kB / 436.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.2859, allocations: 57.09 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2859, allocations: 0 / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.286, allocations: 81.45 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.286, allocations: 4 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.286, allocations: 3.938 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.286, allocations: 4 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.2861, allocations: 12.17 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2861, allocations: 4 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.2861, allocations: 4 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2861, allocations: 0 / 436.3 MB, free: 2.508 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 8.937e-05/0.2862, allocations: 121.7 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.2863, allocations: 73.58 kB / 436.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.2864, allocations: 20.3 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2864, allocations: 0 / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2864, allocations: 0 / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.2864, allocations: 0 / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.794e-05/0.2865, allocations: 109.3 kB / 436.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2865, allocations: 4 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.2865, allocations: 8 kB / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2865, allocations: 0 / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2866, allocations: 0 / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2866, allocations: 7.922 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2866, allocations: 0 / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.2867, allocations: 101.1 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.2868, allocations: 3.984 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.2868, allocations: 11.94 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.2869, allocations: 19.92 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-06/0.2869, allocations: 0 / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2869, allocations: 4 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.2869, allocations: 87.27 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2869, allocations: 0 / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001972/0.2871, allocations: 8 kB / 436.9 MB, free: 1.871 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.0001176/0.2872, allocations: 99.25 kB / 437 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.2874, allocations: 43.92 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2874, allocations: 0 / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.2874, allocations: 0 / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.2877, allocations: 35.95 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.2881, allocations: 167.3 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.2881, allocations: 63.34 kB / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.2882, allocations: 15.8 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2882, allocations: 4 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Templates: time 0.002515/0.2907, allocations: 0.7892 MB / 438.1 MB, free: 0.6094 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.71126514399657]