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.0009837/0.0009837, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001158/0.001158, allocations: 147.5 kB / 24.81 MB, free: 9.27 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.9761/0.9761, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.482e-06/1.482e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.458e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00194/0.001955, allocations: 1.525 MB / 269.9 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006123/0.002567, allocations: 458.7 kB / 270.4 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.002627, allocations: 0 / 270.4 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.00265, allocations: 3.938 kB / 270.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.00277, allocations: 15.86 kB / 270.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.002889, allocations: 35.84 kB / 270.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.002962, allocations: 59.77 kB / 270.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.003026, allocations: 4 kB / 270.5 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.003094, allocations: 31.92 kB / 270.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.003124, allocations: 23.95 kB / 270.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.003138, allocations: 4 kB / 270.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.003146, allocations: 4 kB / 270.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.003161, allocations: 11.94 kB / 270.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.003178, allocations: 11.98 kB / 270.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.29e-05/0.00325, allocations: 39.83 kB / 270.6 MB, free: 3.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-06/0.003252, allocations: 0 / 270.6 MB, free: 3.988 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003252, allocations: 0 / 270.6 MB, free: 3.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.425e-06/0.003255, allocations: 0 / 270.6 MB, free: 3.988 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.00031/0.003565, allocations: 392.5 kB / 271 MB, free: 3.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.003593, allocations: 8.031 kB / 271 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.003618, allocations: 16.89 kB / 271 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.003714, allocations: 128.4 kB / 271.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.003726, allocations: 4.375 kB / 271.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.003733, allocations: 4.375 kB / 271.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.00389, allocations: 138.1 kB / 271.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.003897, allocations: 4.125 kB / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.003903, allocations: 4.375 kB / 271.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.00391, allocations: 3.938 kB / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.496e-05/0.003935, allocations: 11.98 kB / 271.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.15e-05/0.004016, allocations: 97.2 kB / 271.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.887e-05/0.004105, allocations: 47.11 kB / 271.5 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.004129, allocations: 23.67 kB / 271.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.004153, allocations: 4 kB / 271.5 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.004174, allocations: 33.39 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.004175, allocations: 0 / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001245/0.0043, allocations: 69.58 kB / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.004336, allocations: 55.41 kB / 271.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.004407, allocations: 177.8 kB / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.004415, allocations: 29.69 kB / 271.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.004445, allocations: 130.9 kB / 272 MB, free: 2.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.004451, allocations: 0 / 272 MB, free: 2.457 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.004472, allocations: 23.38 kB / 272 MB, free: 2.426 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.004578, allocations: 496.1 kB / 272.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.004584, allocations: 3.984 kB / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-06/0.004589, allocations: 8 kB / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.502e-05/0.004604, allocations: 11.69 kB / 272.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.004605, allocations: 0 / 272.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.924e-05/0.004645, allocations: 37.64 kB / 272.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.004653, allocations: 4 kB / 272.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.004657, allocations: 0 / 272.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.004668, allocations: 96 / 272.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/0.004689, allocations: 11.98 kB / 272.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.004691, allocations: 256 / 272.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.004704, allocations: 3.938 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.004708, allocations: 7.984 kB / 272.6 MB, free: 1.832 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 5.98e-05/0.004768, allocations: 160.6 kB / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.004812, allocations: 57.58 kB / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.004834, allocations: 12.44 kB / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.004835, allocations: 0 / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.004837, allocations: 0 / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.00484, allocations: 7.875 kB / 272.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.752e-05/0.004888, allocations: 101.2 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004888, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.004913, allocations: 8 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.004914, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.004918, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004918, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004919, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.597e-05/0.004955, allocations: 76.33 kB / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.004962, allocations: 7.938 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.004973, allocations: 0 / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/0.005003, allocations: 15.98 kB / 273 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-06/0.005005, allocations: 3.938 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.005008, allocations: 4 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.644e-05/0.005045, allocations: 135.2 kB / 273.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005045, allocations: 0 / 273.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001096/0.005154, allocations: 4 kB / 273.1 MB, free: 1.18 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 5.563e-05/0.00521, allocations: 95.25 kB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.18e-05/0.005262, allocations: 27.67 kB / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.71e-07/0.005263, allocations: 0 / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.005263, allocations: 0 / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.005421, allocations: 37.86 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001441/0.005565, allocations: 128.2 kB / 273.4 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.56e-05/0.005591, allocations: 63.34 kB / 273.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.829e-06/0.0056, allocations: 0 / 273.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.005643, allocations: 74.2 kB / 273.6 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of SimCode: time 3.9e-07/0.005643, allocations: 0 / 273.6 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of Templates: time 0.001733/0.007376, allocations: 0.6989 MB / 274.3 MB, free: 8 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.598330406937748]