Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001073/0.001073, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002529, 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.001023/0.001023, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.00245, 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.9541/0.9541, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09347/1.048, allocations: 52.5 MB / 238.3 MB, free: 4.438 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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.307e-05, allocations: 6.312 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002793/0.002816, allocations: 1.557 MB / 241.1 MB, free: 1.605 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002215/0.003037, allocations: 99.61 kB / 241.2 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.00309, allocations: 0 / 241.2 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.003115, allocations: 7.938 kB / 241.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.173e-05/0.003147, allocations: 3.938 kB / 241.2 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.003314, allocations: 23.91 kB / 241.2 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.469e-05/0.003409, allocations: 31.86 kB / 241.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.003496, allocations: 8 kB / 241.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.003564, allocations: 15.98 kB / 241.3 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.00361, allocations: 11.92 kB / 241.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.003634, allocations: 0 / 241.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.003646, allocations: 4 kB / 241.3 MB, free: 1.402 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.003667, allocations: 7.984 kB / 241.3 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.003699, allocations: 7.938 kB / 241.3 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.078e-05/0.00379, allocations: 19.92 kB / 241.4 MB, free: 1.367 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.003805, allocations: 0 / 241.4 MB, free: 1.367 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003806, allocations: 0 / 241.4 MB, free: 1.367 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.003825, allocations: 4 kB / 241.4 MB, free: 1.363 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.0003936/0.004219, allocations: 248.5 kB / 241.6 MB, free: 1.094 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.004259, allocations: 12.03 kB / 241.6 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.004292, allocations: 4.922 kB / 241.6 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.004466, allocations: 113.7 kB / 241.7 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.004477, allocations: 4.375 kB / 241.7 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.004487, allocations: 4.375 kB / 241.7 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.004697, allocations: 104.5 kB / 241.8 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004706, allocations: 192 / 241.8 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.004715, allocations: 4.375 kB / 241.8 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004721, allocations: 4.312 kB / 241.8 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.943e-05/0.00475, allocations: 15.86 kB / 241.9 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.283e-05/0.004823, allocations: 53.05 kB / 241.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.929e-05/0.004913, allocations: 34.56 kB / 241.9 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.004938, allocations: 8.859 kB / 242 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.00496, allocations: 8 kB / 242 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.004982, allocations: 30.56 kB / 242 MB, free: 0.625 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.004984, allocations: 4 kB / 242 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001241/0.005108, allocations: 49.61 kB / 242 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.005148, allocations: 55.41 kB / 242.1 MB, free: 0.5 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.005212, allocations: 106.7 kB / 242.2 MB, free: 392 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.005226, allocations: 29.7 kB / 242.2 MB, free: 356 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.005253, allocations: 84.14 kB / 242.3 MB, free: 268 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.005254, allocations: 0 / 242.3 MB, free: 268 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.005277, allocations: 13.7 kB / 242.3 MB, free: 248 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.005388, allocations: 322.8 kB / 242.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-06/0.005392, allocations: 0 / 242.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/0.005397, allocations: 0 / 242.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.005421, allocations: 79.28 kB / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/0.005445, allocations: 75.28 kB / 242.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.476e-05/0.005499, allocations: 35.23 kB / 242.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.005537, allocations: 79.28 kB / 242.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.005565, allocations: 83.27 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.982e-05/0.005615, allocations: 154.5 kB / 243.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.267e-05/0.005637, allocations: 75.28 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.492e-05/0.005682, allocations: 158.5 kB / 243.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.005748, allocations: 79.47 kB / 243.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.005778, allocations: 79.28 kB / 243.5 MB, free: 15.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.861e-05/0.005866, allocations: 193.1 kB / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.005929, allocations: 41.62 kB / 243.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.00596, allocations: 12 kB / 243.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.005963, allocations: 0 / 243.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.005965, allocations: 0 / 243.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005968, allocations: 4 kB / 243.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.809e-05/0.006036, allocations: 69.81 kB / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.006042, allocations: 4 kB / 243.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.006126, allocations: 7.938 kB / 243.8 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.006136, allocations: 4 kB / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006139, allocations: 4 kB / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.006143, allocations: 0 / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.006145, allocations: 0 / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.006148, allocations: 3.984 kB / 243.9 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.06e-05/0.006198, allocations: 53.08 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.006209, allocations: 7.938 kB / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.006232, allocations: 0 / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-06/0.006236, allocations: 0 / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.006241, allocations: 0 / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.068e-05/0.006262, allocations: 16.84 kB / 243.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006262, allocations: 0 / 243.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.006442, allocations: 8 kB / 243.9 MB, free: 14.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 9.608e-05/0.006538, allocations: 76.42 kB / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.849e-05/0.006586, allocations: 4.172 kB / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.00659, allocations: 0 / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.00659, allocations: 0 / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.006726, allocations: 25.08 kB / 244 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.007155, allocations: 119.3 kB / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.007193, allocations: 63.34 kB / 244.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.162e-05/0.007205, allocations: 4 kB / 244.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.007241, allocations: 47.38 kB / 244.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.007241, allocations: 0 / 244.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of Templates: time 0.002211/0.009453, allocations: 316.9 kB / 244.6 MB, free: 13.85 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.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.3679777970537543]