Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.001594/0.001594, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001815/0.001815, allocations: 168.9 kB / 25.33 MB, free: 9.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9346/0.9346, allocations: 158.6 MB / 187.2 MB, free: 2.531 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 251 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.374e-05, allocations: 2.312 kB / 251 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001638/0.001661, allocations: 1.224 MB / 252.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.003914, allocations: 2.113 MB / 254.3 MB, free: 280 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.003936, allocations: 0 / 254.3 MB, free: 280 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.00396, allocations: 0 / 254.3 MB, free: 280 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.005062, allocations: 442.2 kB / 254.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.902e-05/0.005091, allocations: 4 kB / 254.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.005154, allocations: 11.92 kB / 254.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.005207, allocations: 4 kB / 254.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.005258, allocations: 11.98 kB / 254.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.005343, allocations: 4 kB / 254.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.005361, allocations: 0 / 254.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.006021, allocations: 447.3 kB / 255.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.006034, allocations: 0 / 255.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.006056, allocations: 7.938 kB / 255.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.00654, allocations: 419 kB / 255.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006543, allocations: 0 / 255.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.006545, allocations: 4 kB / 255.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.006549, allocations: 3.938 kB / 255.7 MB, free: 14.94 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003948/0.006944, allocations: 443.8 kB / 256.1 MB, free: 14.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.00698, allocations: 11.98 kB / 256.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.00704, allocations: 120.1 kB / 256.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.007166, allocations: 231.8 kB / 256.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.007224, allocations: 238.8 kB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.00728, allocations: 242.8 kB / 256.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.007354, allocations: 149.5 kB / 257.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.00739, allocations: 123.1 kB / 257.2 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.00746, allocations: 238.4 kB / 257.4 MB, free: 13.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/0.007525, allocations: 242.4 kB / 257.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.291e-05/0.007588, allocations: 246.3 kB / 257.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.007838, allocations: 0.5681 MB / 258.5 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.007946, allocations: 265.5 kB / 258.7 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.007991, allocations: 130.9 kB / 258.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.008025, allocations: 123.2 kB / 259 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/0.00813, allocations: 49.02 kB / 259 MB, free: 11.44 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 2.695e-06/0.008133, allocations: 0 / 259 MB, free: 11.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.008266, allocations: 45.61 kB / 259.1 MB, free: 11.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.008297, allocations: 51.41 kB / 259.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.008388, allocations: 158.1 kB / 259.3 MB, free: 11.15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.008397, allocations: 29.7 kB / 259.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.008447, allocations: 134.9 kB / 259.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.008461, allocations: 3.953 kB / 259.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.008485, allocations: 23.31 kB / 259.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.008601, allocations: 492.1 kB / 259.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/0.008609, allocations: 0 / 259.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.008615, allocations: 4 kB / 259.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.00864, allocations: 11.69 kB / 260 MB, free: 10.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008642, allocations: 0 / 260 MB, free: 10.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.652e-05/0.008689, allocations: 41.75 kB / 260 MB, free: 10.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.008701, allocations: 4 kB / 260 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.008707, allocations: 7.875 kB / 260 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.008719, allocations: 0 / 260 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-05/0.008743, allocations: 0 / 260 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.008747, allocations: 3.938 kB / 260 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.008759, allocations: 4 kB / 260 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.008765, allocations: 0 / 260 MB, free: 10.37 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.694e-05/0.008832, allocations: 152.6 kB / 260.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.008839, allocations: 4 kB / 260.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.008874, allocations: 19.11 kB / 260.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.008876, allocations: 0 / 260.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.00888, allocations: 0 / 260.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.008883, allocations: 0 / 260.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.113e-05/0.008964, allocations: 108.6 kB / 260.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008965, allocations: 0 / 260.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-06/0.008969, allocations: 4 kB / 260.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.00897, allocations: 0 / 260.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.008976, allocations: 0 / 260.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.008981, allocations: 11.92 kB / 260.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008983, allocations: 0 / 260.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.42e-05/0.009047, allocations: 72.39 kB / 260.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.009053, allocations: 4 kB / 260.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.009062, allocations: 0 / 260.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.009068, allocations: 3.938 kB / 260.4 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.009084, allocations: 3.984 kB / 260.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.009086, allocations: 0 / 260.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.739e-05/0.009123, allocations: 127.2 kB / 260.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009123, allocations: 0 / 260.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.009438, allocations: 131.5 kB / 260.6 MB, free: 9.668 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 0.0008377/0.01028, allocations: 0.5214 MB / 261.2 MB, free: 9.176 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.308e-05/0.01036, allocations: 11.69 kB / 261.2 MB, free: 9.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01036, allocations: 0 / 261.2 MB, free: 9.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-06/0.01037, allocations: 11.69 kB / 261.2 MB, free: 9.145 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.01049, allocations: 11.89 kB / 261.2 MB, free: 9.133 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.01095, allocations: 121.5 kB / 261.3 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.01099, allocations: 51.36 kB / 261.4 MB, free: 8.918 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.193e-05/0.01101, allocations: 7.984 kB / 261.4 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.01103, allocations: 16.48 kB / 261.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01103, allocations: 0 / 261.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of Templates: time 0.00533/0.01636, allocations: 3.436 MB / 264.8 MB, free: 5.457 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.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.848220193758607]