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.0007627/0.0007627, allocations: 84 kB / 21.43 MB, free: 3.133 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.003067/0.003067, allocations: 148.5 kB / 24.68 MB, free: 9.434 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 0.8038/0.8038, allocations: 173.4 MB / 201.2 MB, free: 9.422 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.272e-06/1.272e-06, allocations: 0 / 319.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.86e-05, allocations: 6.219 kB / 319.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001719/0.001738, allocations: 1.469 MB / 321.2 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004875/0.002225, allocations: 426.9 kB / 321.6 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.002277, allocations: 3.938 kB / 321.6 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.002303, allocations: 7.922 kB / 321.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.00243, allocations: 15.86 kB / 321.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.002563, allocations: 35.89 kB / 321.6 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.002645, allocations: 55.8 kB / 321.7 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.002733, allocations: 11.98 kB / 321.7 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.428e-05/0.002797, allocations: 31.91 kB / 321.7 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/0.002831, allocations: 19.92 kB / 321.8 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.002852, allocations: 4 kB / 321.8 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.00286, allocations: 4 kB / 321.8 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.002879, allocations: 11.92 kB / 321.8 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.002907, allocations: 19.97 kB / 321.8 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.993e-05/0.003007, allocations: 47.81 kB / 321.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.003009, allocations: 0 / 321.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003009, allocations: 4 kB / 321.8 MB, free: 3.547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.003013, allocations: 0 / 321.8 MB, free: 3.547 MB / 282.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.0004092/0.003422, allocations: 302.2 kB / 322.1 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.003459, allocations: 16.02 kB / 322.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.003487, allocations: 4.891 kB / 322.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.003656, allocations: 129.7 kB / 322.3 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.003669, allocations: 8.312 kB / 322.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.00368, allocations: 4.375 kB / 322.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.003925, allocations: 147.7 kB / 322.4 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.003931, allocations: 192 / 322.4 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.003939, allocations: 384 / 322.4 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003944, allocations: 7.938 kB / 322.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.126e-05/0.004005, allocations: 27.98 kB / 322.5 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.074e-05/0.004096, allocations: 105.3 kB / 322.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.004212, allocations: 62.48 kB / 322.6 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.00425, allocations: 24.86 kB / 322.7 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.004266, allocations: 0 / 322.7 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.004284, allocations: 42.55 kB / 322.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.31e-07/0.004284, allocations: 0 / 322.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.000164/0.004448, allocations: 77.67 kB / 322.8 MB, free: 2.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.004494, allocations: 71.3 kB / 322.9 MB, free: 2.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.00456, allocations: 109.8 kB / 323 MB, free: 2.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.00457, allocations: 29.7 kB / 323 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.004596, allocations: 88.08 kB / 323.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.004606, allocations: 0 / 323.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.004627, allocations: 13.72 kB / 323.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.004701, allocations: 318.8 kB / 323.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.004709, allocations: 0 / 323.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-06/0.004716, allocations: 8 kB / 323.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.02e-05/0.004736, allocations: 12.92 kB / 323.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.004738, allocations: 0 / 323.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.592e-05/0.004774, allocations: 37.7 kB / 323.5 MB, free: 1.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.004785, allocations: 4 kB / 323.5 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.00479, allocations: 3.984 kB / 323.5 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.0048, allocations: 4 kB / 323.5 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.004833, allocations: 3.938 kB / 323.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.004838, allocations: 4.25 kB / 323.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.00485, allocations: 4 kB / 323.5 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.004853, allocations: 0 / 323.5 MB, free: 1.73 MB / 282.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 6.829e-05/0.004922, allocations: 113.9 kB / 323.6 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.004988, allocations: 69.88 kB / 323.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.005015, allocations: 12.44 kB / 323.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005016, allocations: 0 / 323.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.005021, allocations: 8 kB / 323.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.005025, allocations: 0 / 323.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.349e-05/0.005068, allocations: 105.3 kB / 323.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005069, allocations: 0 / 323.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.00509, allocations: 8 kB / 323.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.005092, allocations: 0 / 323.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.0051, allocations: 7.984 kB / 323.8 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.005102, allocations: 3.938 kB / 323.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005102, allocations: 0 / 323.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.76e-05/0.00519, allocations: 97.02 kB / 323.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.0052, allocations: 11.92 kB / 323.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.005213, allocations: 4 kB / 323.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.00525, allocations: 15.92 kB / 323.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-06/0.005253, allocations: 3.938 kB / 323.9 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.005257, allocations: 8 kB / 323.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.202e-05/0.005289, allocations: 95.19 kB / 324 MB, free: 1.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005289, allocations: 0 / 324 MB, free: 1.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001142/0.005403, allocations: 8 kB / 324 MB, free: 1.102 MB / 282.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 6.622e-05/0.005469, allocations: 99.25 kB / 324.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.005546, allocations: 27.92 kB / 324.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005548, allocations: 0 / 324.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.005548, allocations: 0 / 324.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.005754, allocations: 40.06 kB / 324.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.005965, allocations: 158.6 kB / 324.4 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.642e-05/0.006001, allocations: 67.34 kB / 324.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.006023, allocations: 8.5 kB / 324.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006024, allocations: 3.938 kB / 324.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of Templates: time 0.001339/0.007363, allocations: 0.7473 MB / 325.2 MB, free: 15.91 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] 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: 3.714437267743051]