Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0009374/0.0009374, allocations: 80.8 kB / 21.49 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.0009939/0.0009939, allocations: 174.3 kB / 24.92 MB, free: 8.77 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.9909/0.9909, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.696e-05, allocations: 9.969 kB / 273.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002383/0.00241, allocations: 1.557 MB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.002615, allocations: 27.91 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.002675, allocations: 3.938 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.0027, allocations: 3.984 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.002747, allocations: 3.938 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.00297, allocations: 27.91 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.00305, allocations: 23.94 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.003131, allocations: 19.97 kB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.35e-05/0.003184, allocations: 19.92 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.314e-05/0.003217, allocations: 4 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.003235, allocations: 4 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.003243, allocations: 4 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.003264, allocations: 11.91 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.003284, allocations: 8 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.38e-05/0.003368, allocations: 19.86 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.003372, allocations: 4 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003373, allocations: 0 / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.003379, allocations: 4 kB / 275.3 MB, free: 15.36 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.0002802/0.003659, allocations: 244.9 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.003698, allocations: 12.03 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.003724, allocations: 4.938 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.003882, allocations: 117.7 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.003901, allocations: 4.375 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.003909, allocations: 384 / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.0041, allocations: 104.6 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.004109, allocations: 8.109 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004117, allocations: 4.375 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.004123, allocations: 384 / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.004148, allocations: 7.938 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.143e-05/0.004219, allocations: 60.98 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.004279, allocations: 26.56 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.004301, allocations: 16.84 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.004308, allocations: 0 / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.00433, allocations: 34.56 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004331, allocations: 4 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.00012/0.004451, allocations: 45.77 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.004499, allocations: 63.42 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.004554, allocations: 102.7 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004564, allocations: 25.7 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.004589, allocations: 84.12 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.004604, allocations: 15.92 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.004625, allocations: 9.719 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.004711, allocations: 318.8 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-06/0.004715, allocations: 0 / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.004723, allocations: 4 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.004746, allocations: 16.84 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004748, allocations: 0 / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.445e-05/0.004793, allocations: 37.69 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.004808, allocations: 4 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.004813, allocations: 256 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.004824, allocations: 4 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.004865, allocations: 4 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.004867, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.004877, allocations: 4 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-06/0.004879, allocations: 0 / 276.6 MB, free: 13.83 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.532e-05/0.004945, allocations: 117.8 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.00498, allocations: 45.64 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.005001, allocations: 7.984 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.005003, allocations: 0 / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.005004, allocations: 0 / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.005007, allocations: 0 / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.807e-05/0.005055, allocations: 69.8 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005056, allocations: 0 / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.005096, allocations: 11.98 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.005098, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.005104, allocations: 4 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.005105, allocations: 8 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005106, allocations: 0 / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.005425, allocations: 61 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.005433, allocations: 0 / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.005445, allocations: 4 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.021e-05/0.005455, allocations: 3.938 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.005458, allocations: 0 / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.005461, allocations: 0 / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.422e-05/0.005475, allocations: 16.84 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005475, allocations: 0 / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.927e-05/0.005565, allocations: 4 kB / 277 MB, free: 13.43 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: 1 (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 8.039e-05/0.005645, allocations: 80.42 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.616e-05/0.005701, allocations: 16.84 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.005704, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.005705, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.005835, allocations: 29.3 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.00603, allocations: 115.2 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.943e-05/0.006059, allocations: 59.34 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.657e-05/0.006076, allocations: 0 / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.006113, allocations: 55.44 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006114, allocations: 0 / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Templates: time 0.001911/0.008024, allocations: 476.1 kB / 277.8 MB, free: 12.56 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.639511707238853]