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.001793/0.001793, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002042/0.002042, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 14.72 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.616/1.616, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 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 0.001575/0.001575, allocations: 55.91 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.324, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003165/0.3271, allocations: 1.5 MB / 422.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.328, allocations: 472.8 kB / 422.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.3281, allocations: 0 / 422.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.3281, allocations: 3.938 kB / 422.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.3283, allocations: 19.91 kB / 422.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.3285, allocations: 42.78 kB / 422.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3287, allocations: 47.84 kB / 422.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3288, allocations: 8 kB / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.3289, allocations: 23.86 kB / 423 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.3289, allocations: 27.91 kB / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.329, allocations: 4 kB / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.329, allocations: 4 kB / 423 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.329, allocations: 11.92 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.329, allocations: 19.94 kB / 423 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.3292, allocations: 59.59 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3292, allocations: 0 / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3292, allocations: 0 / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3292, allocations: 0 / 423.1 MB, free: 12.91 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.0007695/0.33, allocations: 380.7 kB / 423.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.33, allocations: 11.89 kB / 423.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.3301, allocations: 12.89 kB / 423.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3304, allocations: 188.2 kB / 423.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3304, allocations: 384 / 423.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.3304, allocations: 4.375 kB / 423.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.3309, allocations: 151.5 kB / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3309, allocations: 0 / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3309, allocations: 0 / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3309, allocations: 4 kB / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.331, allocations: 27.98 kB / 423.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.3313, allocations: 157.7 kB / 424 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.3315, allocations: 139.7 kB / 424.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.3316, allocations: 28.84 kB / 424.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.3317, allocations: 4 kB / 424.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.3317, allocations: 42.38 kB / 424.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3317, allocations: 0 / 424.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003152/0.332, allocations: 81.67 kB / 424.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3321, allocations: 59.34 kB / 424.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3322, allocations: 117.8 kB / 424.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3323, allocations: 25.7 kB / 424.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3323, allocations: 92.12 kB / 424.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.3324, allocations: 0 / 424.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3324, allocations: 17.72 kB / 424.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3326, allocations: 322.8 kB / 424.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.3326, allocations: 4 kB / 424.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.3326, allocations: 49.14 kB / 425 MB, free: 10.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.125e-05/0.3327, allocations: 57.08 kB / 425 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3327, allocations: 0 / 425 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001216/0.3328, allocations: 73.56 kB / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3329, allocations: 7.938 kB / 425.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3329, allocations: 4 kB / 425.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.3329, allocations: 0 / 425.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.333, allocations: 11.94 kB / 425.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.333, allocations: 192 / 425.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.333, allocations: 11.95 kB / 425.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.333, allocations: 4 kB / 425.1 MB, free: 10.58 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.0001397/0.3332, allocations: 125.7 kB / 425.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.3333, allocations: 73.8 kB / 425.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.3334, allocations: 12.38 kB / 425.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3334, allocations: 64 / 425.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.3334, allocations: 4 kB / 425.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3334, allocations: 3.984 kB / 425.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.3336, allocations: 165.6 kB / 425.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3336, allocations: 4 kB / 425.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.3336, allocations: 4 kB / 425.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.3337, allocations: 3.938 kB / 425.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3337, allocations: 7.984 kB / 425.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3337, allocations: 0 / 425.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3337, allocations: 0 / 425.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3339, allocations: 101 kB / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.334, allocations: 89 kB / 425.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.334, allocations: 4 kB / 425.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.3341, allocations: 15.98 kB / 425.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-06/0.3341, allocations: 0 / 425.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3341, allocations: 4 kB / 425.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.3341, allocations: 83.27 kB / 425.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3341, allocations: 3.938 kB / 425.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002012/0.3343, allocations: 16 kB / 425.8 MB, free: 9.773 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.0001379/0.3345, allocations: 95.25 kB / 425.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.3346, allocations: 39.92 kB / 426 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3346, allocations: 0 / 426 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3346, allocations: 0 / 426 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.335, allocations: 40.31 kB / 426 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.3354, allocations: 149.5 kB / 426.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3357, allocations: 0.6883 MB / 426.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.3357, allocations: 4 kB / 426.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3358, allocations: 11.44 kB / 426.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3358, allocations: 0 / 426.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of Templates: time 0.003704/0.3395, allocations: 0.661 MB / 427.5 MB, free: 8.031 MB / 334.1 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: 4.885323099792004]