Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001029/0.001029, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002452, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001201/0.001201, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.00292, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9381/0.9381, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1772/1.115, allocations: 52.49 MB / 238.5 MB, free: 7.605 MB / 234.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.166e-05, allocations: 4.5 kB / 239.7 MB, free: 6.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003815/0.003847, allocations: 1.503 MB / 241.2 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.004004, allocations: 36.66 kB / 241.3 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.004083, allocations: 1.094 kB / 241.3 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.004119, allocations: 3.938 kB / 241.3 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.391e-05/0.004153, allocations: 0 / 241.3 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.004398, allocations: 31.03 kB / 241.3 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.004529, allocations: 27.92 kB / 241.3 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.004647, allocations: 4 kB / 241.3 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.00475, allocations: 23.91 kB / 241.4 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.004803, allocations: 7.984 kB / 241.4 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.004835, allocations: 4 kB / 241.4 MB, free: 4.707 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.004846, allocations: 4 kB / 241.4 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.004877, allocations: 3.938 kB / 241.4 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.004904, allocations: 8 kB / 241.4 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.005044, allocations: 25.14 kB / 241.4 MB, free: 4.668 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.938e-05/0.005064, allocations: 0 / 241.4 MB, free: 4.668 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.005066, allocations: 0 / 241.4 MB, free: 4.668 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.005082, allocations: 1.062 kB / 241.4 MB, free: 4.668 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004779/0.00556, allocations: 252.5 kB / 241.7 MB, free: 4.395 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.005604, allocations: 8.031 kB / 241.7 MB, free: 4.387 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.005648, allocations: 7.938 kB / 241.7 MB, free: 4.383 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.005851, allocations: 117.7 kB / 241.8 MB, free: 4.242 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.005878, allocations: 384 / 241.8 MB, free: 4.242 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.005895, allocations: 8.375 kB / 241.8 MB, free: 4.234 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.006155, allocations: 100.5 kB / 241.9 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006165, allocations: 5 kB / 241.9 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.006173, allocations: 384 / 241.9 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.006183, allocations: 5.594 kB / 241.9 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.006214, allocations: 11.92 kB / 241.9 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.928e-05/0.006303, allocations: 53.05 kB / 242 MB, free: 4.035 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.006383, allocations: 35.47 kB / 242 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.00641, allocations: 12.86 kB / 242 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.006418, allocations: 4 kB / 242 MB, free: 3.973 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.006448, allocations: 31.47 kB / 242.1 MB, free: 3.934 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.00645, allocations: 0 / 242.1 MB, free: 3.934 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001457/0.006596, allocations: 43.47 kB / 242.1 MB, free: 3.887 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.006657, allocations: 59.34 kB / 242.2 MB, free: 3.816 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.006737, allocations: 114.6 kB / 242.3 MB, free: 3.691 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.006751, allocations: 33.64 kB / 242.3 MB, free: 3.652 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.006782, allocations: 84.12 kB / 242.4 MB, free: 3.566 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.006797, allocations: 0.6562 kB / 242.4 MB, free: 3.566 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.006839, allocations: 18.41 kB / 242.4 MB, free: 3.543 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.006956, allocations: 318.8 kB / 242.7 MB, free: 3.223 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.006967, allocations: 5.969 kB / 242.7 MB, free: 3.219 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-06/0.006977, allocations: 0 / 242.7 MB, free: 3.219 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.007009, allocations: 8.859 kB / 242.7 MB, free: 3.207 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.007012, allocations: 0 / 242.7 MB, free: 3.207 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.401e-05/0.007086, allocations: 39.16 kB / 242.8 MB, free: 3.164 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.007102, allocations: 4 kB / 242.8 MB, free: 3.16 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.00711, allocations: 0 / 242.8 MB, free: 3.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.007129, allocations: 0 / 242.8 MB, free: 3.16 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.007191, allocations: 8.562 kB / 242.8 MB, free: 3.152 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.007195, allocations: 0.5938 kB / 242.8 MB, free: 3.152 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.00721, allocations: 0 / 242.8 MB, free: 3.152 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.007214, allocations: 0.7188 kB / 242.8 MB, free: 3.152 MB / 234.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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 8.487e-05/0.007299, allocations: 123.5 kB / 242.9 MB, free: 3.023 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.007367, allocations: 41.67 kB / 243 MB, free: 2.977 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.007401, allocations: 7.688 kB / 243 MB, free: 2.961 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.007404, allocations: 4 kB / 243 MB, free: 2.957 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.007407, allocations: 1.156 kB / 243 MB, free: 2.957 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.007411, allocations: 0 / 243 MB, free: 2.957 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.201e-05/0.007483, allocations: 69.83 kB / 243 MB, free: 2.871 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007485, allocations: 1 kB / 243 MB, free: 2.871 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.007535, allocations: 4 kB / 243 MB, free: 2.867 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.007543, allocations: 0 / 243 MB, free: 2.867 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007545, allocations: 1 kB / 243 MB, free: 2.867 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007552, allocations: 12.11 kB / 243 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.007557, allocations: 8 kB / 243.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007559, allocations: 0.75 kB / 243.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.586e-05/0.007614, allocations: 53.08 kB / 243.1 MB, free: 2.777 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.00763, allocations: 0.6875 kB / 243.1 MB, free: 2.777 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.007652, allocations: 8 kB / 243.1 MB, free: 2.77 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-06/0.007656, allocations: 0.5 kB / 243.1 MB, free: 2.77 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.007664, allocations: 4.828 kB / 243.1 MB, free: 2.766 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.859e-05/0.007683, allocations: 8.859 kB / 243.1 MB, free: 2.754 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007683, allocations: 1.625 kB / 243.1 MB, free: 2.754 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.007823, allocations: 4 kB / 243.1 MB, free: 2.75 MB / 234.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001358/0.007959, allocations: 76.42 kB / 243.2 MB, free: 2.664 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.103e-05/0.00805, allocations: 24.88 kB / 243.2 MB, free: 2.637 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.008056, allocations: 0 / 243.2 MB, free: 2.637 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.008057, allocations: 0 / 243.2 MB, free: 2.637 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.008214, allocations: 24.3 kB / 243.3 MB, free: 2.613 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.008744, allocations: 123 kB / 243.4 MB, free: 2.469 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.655e-05/0.008791, allocations: 55.36 kB / 243.4 MB, free: 2.395 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.375e-05/0.008814, allocations: 0 / 243.4 MB, free: 2.395 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.00887, allocations: 55.36 kB / 243.5 MB, free: 2.34 MB / 234.7 MB Notification: Performance of SimCode: time 1.042e-06/0.008871, allocations: 0 / 243.5 MB, free: 2.34 MB / 234.7 MB Notification: Performance of Templates: time 0.003/0.01187, allocations: 408.2 kB / 243.9 MB, free: 1.945 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5006440551951528]