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.001342/0.001342, allocations: 81.66 kB / 20.68 MB, free: 1.035 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.001427/0.001427, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 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.433/1.433, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 3.126e-06/3.126e-06, allocations: 0.5625 kB / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/3.082e-05, allocations: 2.281 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002535/0.002566, allocations: 1.476 MB / 320.4 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.003255, allocations: 429 kB / 320.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.003323, allocations: 5.062 kB / 320.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.003356, allocations: 5.297 kB / 320.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.00351, allocations: 12.2 kB / 320.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.00369, allocations: 34.58 kB / 320.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.003799, allocations: 51.75 kB / 320.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.003899, allocations: 16.48 kB / 320.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.003983, allocations: 28.89 kB / 321 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.004029, allocations: 24.11 kB / 321 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.00406, allocations: 3.562 kB / 321 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.004072, allocations: 5.062 kB / 321 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.004093, allocations: 15.55 kB / 321 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.004125, allocations: 15.25 kB / 321 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.004238, allocations: 48.97 kB / 321.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.004241, allocations: 0 / 321.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004243, allocations: 1.406 kB / 321.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.004253, allocations: 0 / 321.1 MB, free: 2.164 MB / 286.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.0005161/0.004769, allocations: 306.2 kB / 321.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.004802, allocations: 9.5 kB / 321.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.004833, allocations: 7.391 kB / 321.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.005019, allocations: 134.4 kB / 321.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.005029, allocations: 2.625 kB / 321.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.005047, allocations: 7.094 kB / 321.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.005389, allocations: 145.4 kB / 321.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.005399, allocations: 192 / 321.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.005409, allocations: 0.9375 kB / 321.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.005415, allocations: 5.375 kB / 321.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.005517, allocations: 28.89 kB / 321.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.482e-05/0.005612, allocations: 108.5 kB / 321.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.005772, allocations: 55.33 kB / 321.9 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.005837, allocations: 28.88 kB / 321.9 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.005853, allocations: 5.438 kB / 321.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.005865, allocations: 36.77 kB / 321.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.005866, allocations: 0 / 321.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002501/0.006116, allocations: 79.2 kB / 322 MB, free: 1.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.006151, allocations: 62.09 kB / 322.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.006215, allocations: 116.6 kB / 322.2 MB, free: 1.184 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.006223, allocations: 29.7 kB / 322.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.006241, allocations: 82.41 kB / 322.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.006252, allocations: 6.125 kB / 322.3 MB, free: 1.062 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.006276, allocations: 17.38 kB / 322.3 MB, free: 1.043 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.006311, allocations: 317.5 kB / 322.6 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.00632, allocations: 1.375 kB / 322.6 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.006328, allocations: 7.891 kB / 322.6 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.88e-05/0.006346, allocations: 8.891 kB / 322.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006348, allocations: 0 / 322.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.835e-05/0.006396, allocations: 40.86 kB / 322.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.006408, allocations: 4.906 kB / 322.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006412, allocations: 3.938 kB / 322.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.006427, allocations: 4.969 kB / 322.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-05/0.00646, allocations: 7.5 kB / 322.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006464, allocations: 3.938 kB / 322.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.006482, allocations: 1.469 kB / 322.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-06/0.006485, allocations: 320 / 322.7 MB, free: 0.6641 MB / 286.1 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.734e-05/0.006532, allocations: 113.5 kB / 322.8 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.006657, allocations: 67.12 kB / 322.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.006689, allocations: 10.95 kB / 322.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.006691, allocations: 3.984 kB / 322.9 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.006697, allocations: 6.203 kB / 322.9 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.0067, allocations: 0 / 322.9 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.467e-05/0.006744, allocations: 108.8 kB / 323 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006745, allocations: 1.5 kB / 323 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.006792, allocations: 6.938 kB / 323 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006794, allocations: 3.938 kB / 323 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.006802, allocations: 2.312 kB / 323 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006804, allocations: 4 kB / 323 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.006806, allocations: 2.312 kB / 323 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.006954, allocations: 101.8 kB / 323.1 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.006967, allocations: 7.734 kB / 323.1 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.006984, allocations: 1.438 kB / 323.1 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.007075, allocations: 18.22 kB / 323.2 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.007084, allocations: 0.9844 kB / 323.2 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.00709, allocations: 1.5 kB / 323.2 MB, free: 260 kB / 286.1 MB Notification: Performance of sorting global known variables: time 3.003e-05/0.00712, allocations: 96.25 kB / 323.3 MB, free: 172 kB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00712, allocations: 0 / 323.3 MB, free: 172 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001867/0.007307, allocations: 8.656 kB / 323.3 MB, free: 172 kB / 286.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 6.85e-05/0.007375, allocations: 106.7 kB / 323.4 MB, free: 76 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.007489, allocations: 25.08 kB / 323.4 MB, free: 68 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007491, allocations: 0 / 323.4 MB, free: 68 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.007492, allocations: 1.031 kB / 323.4 MB, free: 68 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.007794, allocations: 46.48 kB / 323.4 MB, free: 48 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.008102, allocations: 131.6 kB / 323.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.624e-05/0.008168, allocations: 76.56 kB / 323.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.497e-05/0.008183, allocations: 5.281 kB / 323.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.008216, allocations: 12.58 kB / 323.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.008217, allocations: 1.219 kB / 323.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Templates: time 0.003194/0.01141, allocations: 0.6546 MB / 324.3 MB, free: 15.73 MB / 302.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.1506269089877605]