Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001033/0.001033, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002452, allocations: 449.7 kB / 10.37 MB, free: 332 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.0007244/0.0007244, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009363/0.001661, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9789/0.9789, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08732/1.066, allocations: 52.5 MB / 238.3 MB, free: 4.414 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.532e-05, allocations: 3.859 kB / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002797/0.002822, allocations: 1.509 MB / 241.1 MB, free: 1.648 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.002941, allocations: 31.84 kB / 241.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.002995, allocations: 0 / 241.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.003023, allocations: 15.86 kB / 241.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.543e-05/0.003049, allocations: 0 / 241.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.003217, allocations: 31.91 kB / 241.1 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.003304, allocations: 19.94 kB / 241.1 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.003391, allocations: 7.984 kB / 241.2 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.003466, allocations: 23.92 kB / 241.2 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.003513, allocations: 11.97 kB / 241.2 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.003538, allocations: 4 kB / 241.2 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.003547, allocations: 0 / 241.2 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.003565, allocations: 7.938 kB / 241.2 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.003593, allocations: 8 kB / 241.2 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.003691, allocations: 23.86 kB / 241.2 MB, free: 1.465 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.003708, allocations: 0 / 241.2 MB, free: 1.465 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003708, allocations: 4 kB / 241.2 MB, free: 1.461 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.003727, allocations: 0 / 241.2 MB, free: 1.461 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.0003641/0.004091, allocations: 248.5 kB / 241.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.00412, allocations: 12.03 kB / 241.5 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.004144, allocations: 4.922 kB / 241.5 MB, free: 1.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.004273, allocations: 121.7 kB / 241.6 MB, free: 1.031 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.00429, allocations: 4.375 kB / 241.6 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.004298, allocations: 4.375 kB / 241.6 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.004446, allocations: 104.5 kB / 241.7 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.004453, allocations: 192 / 241.7 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.004459, allocations: 384 / 241.7 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004464, allocations: 384 / 241.7 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.004495, allocations: 7.938 kB / 241.7 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.33e-05/0.004569, allocations: 64.98 kB / 241.8 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.004636, allocations: 34.52 kB / 241.8 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.004659, allocations: 12.84 kB / 241.8 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.004667, allocations: 0 / 241.8 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.00469, allocations: 34.56 kB / 241.9 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.004691, allocations: 7.938 kB / 241.9 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001016/0.004793, allocations: 41.69 kB / 241.9 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.004835, allocations: 59.34 kB / 242 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.00489, allocations: 110.7 kB / 242.1 MB, free: 484 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.0049, allocations: 25.7 kB / 242.1 MB, free: 452 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.004928, allocations: 84.14 kB / 242.2 MB, free: 364 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-06/0.004937, allocations: 3.984 kB / 242.2 MB, free: 360 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.004966, allocations: 13.72 kB / 242.2 MB, free: 340 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.005057, allocations: 322.8 kB / 242.5 MB, free: 8 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.005065, allocations: 0 / 242.5 MB, free: 8 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-06/0.005073, allocations: 8 kB / 242.5 MB, free: 0 / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.005106, allocations: 8.859 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.005108, allocations: 0 / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.749e-05/0.005146, allocations: 33.64 kB / 242.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.00516, allocations: 11.98 kB / 242.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.005164, allocations: 0 / 242.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.005172, allocations: 0 / 242.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.005218, allocations: 8 kB / 242.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.005221, allocations: 0 / 242.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-06/0.00523, allocations: 256 / 242.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-06/0.005231, allocations: 4.094 kB / 242.6 MB, free: 15.93 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: 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.35e-05/0.005285, allocations: 117.8 kB / 242.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.005319, allocations: 37.69 kB / 242.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.005345, allocations: 8.234 kB / 242.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.005348, allocations: 7.984 kB / 242.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.00535, allocations: 0 / 242.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005353, allocations: 0 / 242.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.265e-05/0.005405, allocations: 73.81 kB / 242.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005406, allocations: 0 / 242.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.005447, allocations: 11.94 kB / 242.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-06/0.005454, allocations: 15.88 kB / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.005456, allocations: 0 / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-06/0.005459, allocations: 0 / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005459, allocations: 4 kB / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.005461, allocations: 3.984 kB / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.297e-05/0.005494, allocations: 53.08 kB / 242.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.005506, allocations: 4 kB / 242.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.285e-05/0.005519, allocations: 7.984 kB / 242.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-06/0.005521, allocations: 0 / 242.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.005524, allocations: 0 / 242.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.528e-06/0.005533, allocations: 8.859 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005533, allocations: 4 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.419e-05/0.005617, allocations: 4 kB / 243 MB, free: 15.51 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: 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.622e-05/0.005684, allocations: 80.08 kB / 243 MB, free: 15.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.621e-05/0.00574, allocations: 24.78 kB / 243.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.005742, allocations: 0 / 243.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.2e-07/0.005742, allocations: 0 / 243.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.005861, allocations: 21.31 kB / 243.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.006155, allocations: 127 kB / 243.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.006184, allocations: 59.42 kB / 243.3 MB, free: 15.15 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.663e-05/0.006201, allocations: 7.984 kB / 243.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.006235, allocations: 51.38 kB / 243.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006235, allocations: 0 / 243.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of Templates: time 0.001741/0.007977, allocations: 493.5 kB / 243.8 MB, free: 14.62 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.33678677957505]