Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009853/0.0009853, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 273 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.758e-05, allocations: 6.312 kB / 273.1 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.005546/0.005573, allocations: 1.474 MB / 274.5 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002013/0.005775, allocations: 35.91 kB / 274.6 MB, free: 300 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.005848, allocations: 0 / 274.6 MB, free: 300 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.005877, allocations: 3.938 kB / 274.6 MB, free: 296 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.005914, allocations: 3.938 kB / 274.6 MB, free: 292 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.006163, allocations: 23.91 kB / 274.6 MB, free: 268 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.006246, allocations: 31.92 kB / 274.6 MB, free: 236 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.006349, allocations: 3.984 kB / 274.6 MB, free: 232 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.006401, allocations: 12 kB / 274.6 MB, free: 220 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.729e-05/0.006438, allocations: 15.97 kB / 274.7 MB, free: 204 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.006458, allocations: 0 / 274.7 MB, free: 204 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.006466, allocations: 7.938 kB / 274.7 MB, free: 196 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.006487, allocations: 8 kB / 274.7 MB, free: 188 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.006516, allocations: 7.984 kB / 274.7 MB, free: 180 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.815e-05/0.006614, allocations: 27.84 kB / 274.7 MB, free: 152 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.006617, allocations: 0 / 274.7 MB, free: 152 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006618, allocations: 0 / 274.7 MB, free: 152 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.006623, allocations: 4 kB / 274.7 MB, free: 148 kB / 250.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.000355/0.006978, allocations: 356.7 kB / 275.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.007015, allocations: 12.02 kB / 275.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.007055, allocations: 12.89 kB / 275.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.007203, allocations: 124.5 kB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.007227, allocations: 8.375 kB / 275.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.007236, allocations: 4.375 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.007444, allocations: 110.2 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.007451, allocations: 192 / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.007461, allocations: 384 / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.007468, allocations: 384 / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.007496, allocations: 7.938 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.205e-05/0.007588, allocations: 116.6 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.007657, allocations: 47 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.007689, allocations: 23.73 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.007695, allocations: 0 / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.007715, allocations: 33.39 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.007716, allocations: 0 / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001302/0.007846, allocations: 53.64 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.007891, allocations: 63.34 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.007965, allocations: 165.9 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.007977, allocations: 29.7 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.008012, allocations: 130.8 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.008022, allocations: 0 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.008047, allocations: 27.38 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.008157, allocations: 496.1 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.008165, allocations: 0 / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.008171, allocations: 4.25 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.008195, allocations: 11.69 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.008198, allocations: 4 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.543e-05/0.008243, allocations: 41.64 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008256, allocations: 7.984 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.008261, allocations: 0 / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.008272, allocations: 4.094 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.008319, allocations: 4 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.008324, allocations: 0 / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.008334, allocations: 7.891 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.008337, allocations: 4 kB / 276.6 MB, free: 14.05 MB / 266.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 6.432e-05/0.008402, allocations: 156.6 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.00844, allocations: 41.69 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.008461, allocations: 7.688 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008464, allocations: 4 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.008467, allocations: 0 / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.008471, allocations: 7.938 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.412e-05/0.008525, allocations: 116.6 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008526, allocations: 0 / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.008548, allocations: 3.938 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.00855, allocations: 4 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.008556, allocations: 0 / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.008557, allocations: 0 / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008558, allocations: 0 / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.69e-05/0.008635, allocations: 88.36 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.008644, allocations: 11.89 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.008658, allocations: 0 / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.422e-05/0.008672, allocations: 12 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.008674, allocations: 0 / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.008677, allocations: 0 / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.008712, allocations: 131.2 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008712, allocations: 0 / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001156/0.008828, allocations: 4 kB / 277.2 MB, free: 13.4 MB / 266.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 7.796e-05/0.008906, allocations: 103.1 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.571e-05/0.008982, allocations: 19.97 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008983, allocations: 0 / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.008984, allocations: 4.062 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.009147, allocations: 23.92 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.009374, allocations: 120.9 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.258e-05/0.009407, allocations: 59.34 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.253e-05/0.009419, allocations: 0 / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.009444, allocations: 12.5 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009445, allocations: 0 / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of Templates: time 0.001871/0.01132, allocations: 376.1 kB / 277.9 MB, free: 12.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.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.7704258891753852]