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.001473/0.001473, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001772/0.001772, allocations: 174.3 kB / 24.91 MB, free: 8.766 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 0.9813/0.9813, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.533e-06/1.533e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.199e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002241/0.002263, allocations: 1.521 MB / 275 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001692/0.002432, allocations: 35.78 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.00249, allocations: 0 / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.002516, allocations: 3.938 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.524e-05/0.002551, allocations: 3.938 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.002769, allocations: 27.97 kB / 275.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.00285, allocations: 27.92 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.002939, allocations: 11.98 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.002992, allocations: 15.92 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.003031, allocations: 11.98 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.003049, allocations: 4 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.003057, allocations: 0 / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.003075, allocations: 4 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.003095, allocations: 11.92 kB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.265e-05/0.003177, allocations: 19.97 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.003179, allocations: 4 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00318, allocations: 0 / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003184, allocations: 0 / 275.2 MB, free: 15.56 MB / 266.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.0002683/0.003452, allocations: 240.9 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.003489, allocations: 12.03 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.003515, allocations: 8.938 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.003644, allocations: 125.6 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.00366, allocations: 4.375 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.003666, allocations: 384 / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.003831, allocations: 112.5 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003838, allocations: 4.125 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.003846, allocations: 8.359 kB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-06/0.00385, allocations: 384 / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.003868, allocations: 7.938 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.481e-05/0.003923, allocations: 57.05 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.428e-05/0.003977, allocations: 30.5 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.003993, allocations: 12.86 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.003999, allocations: 0 / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.004021, allocations: 42.56 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004022, allocations: 0 / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.686e-05/0.004109, allocations: 45.67 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.004143, allocations: 55.34 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.004192, allocations: 106.7 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.004201, allocations: 25.7 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.004221, allocations: 84.12 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.004233, allocations: 11.98 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.004251, allocations: 9.719 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.00432, allocations: 318.8 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-06/0.004324, allocations: 0 / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-06/0.004329, allocations: 4 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.004347, allocations: 12.84 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004349, allocations: 0 / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.983e-05/0.004389, allocations: 37.64 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.0044, allocations: 4 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004404, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.004414, allocations: 4 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.351e-05/0.004448, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.00445, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.004459, allocations: 8.094 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-06/0.004462, allocations: 0 / 276.5 MB, free: 14.03 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 5.123e-05/0.004514, allocations: 117.7 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.004548, allocations: 45.69 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.728e-05/0.004565, allocations: 3.688 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.004567, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004568, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.00457, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.252e-05/0.004613, allocations: 70.08 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.004614, allocations: 4 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.004636, allocations: 11.92 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.004636, allocations: 4 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.004642, allocations: 4 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.004642, allocations: 0 / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004643, allocations: 0 / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.651e-05/0.004679, allocations: 57.31 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.004689, allocations: 11.92 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.004699, allocations: 0 / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.004711, allocations: 4 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-06/0.004713, allocations: 0 / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.004715, allocations: 0 / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.153e-05/0.004727, allocations: 8.859 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004727, allocations: 4 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.881e-05/0.004816, allocations: 8 kB / 276.9 MB, free: 13.63 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 6.998e-05/0.004886, allocations: 84.34 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.139e-05/0.004937, allocations: 12.86 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.00494, allocations: 0 / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.00494, allocations: 0 / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.343e-05/0.005034, allocations: 17.34 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.005224, allocations: 115.3 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.998e-05/0.005254, allocations: 67.3 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.522e-05/0.00527, allocations: 0 / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.00531, allocations: 55.36 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005311, allocations: 0 / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Templates: time 0.00183/0.00714, allocations: 386.8 kB / 277.6 MB, free: 12.86 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 -s gbode -gbm=radauIIA3 -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.500146886333823]