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.001611/0.001611, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001879/0.001879, allocations: 161.2 kB / 25.6 MB, free: 8.895 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 1.045/1.045, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.704e-06/1.704e-06, allocations: 0 / 251.4 MB, free: 7.391 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.691e-05, allocations: 2.312 kB / 251.4 MB, free: 7.387 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002506/0.002533, allocations: 1.225 MB / 252.7 MB, free: 6.148 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.004818, allocations: 2.086 MB / 254.7 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.004844, allocations: 4 kB / 254.7 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.004864, allocations: 0 / 254.7 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.006001, allocations: 442.3 kB / 255.2 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.819e-05/0.006039, allocations: 7.984 kB / 255.2 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 4.38e-05/0.006083, allocations: 7.938 kB / 255.2 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.00613, allocations: 4 kB / 255.2 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.169e-05/0.006172, allocations: 4 kB / 255.2 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.006226, allocations: 7.938 kB / 255.2 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.006237, allocations: 3.984 kB / 255.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.006834, allocations: 447.4 kB / 255.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.006847, allocations: 4 kB / 255.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.006861, allocations: 3.938 kB / 255.7 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.007372, allocations: 423 kB / 256.1 MB, free: 2.715 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.007374, allocations: 0 / 256.1 MB, free: 2.715 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007375, allocations: 0 / 256.1 MB, free: 2.715 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.00738, allocations: 0 / 256.1 MB, free: 2.715 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003454/0.007725, allocations: 439.8 kB / 256.5 MB, free: 2.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.007763, allocations: 11.98 kB / 256.5 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.007817, allocations: 128.1 kB / 256.6 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.007923, allocations: 227.8 kB / 256.9 MB, free: 1.863 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.007977, allocations: 246.8 kB / 257.1 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.008029, allocations: 238.8 kB / 257.3 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.356e-05/0.008092, allocations: 145.5 kB / 257.5 MB, free: 1.238 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.008125, allocations: 127.1 kB / 257.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/0.008185, allocations: 238.4 kB / 257.8 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/0.00824, allocations: 242.4 kB / 258.1 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.008302, allocations: 246.3 kB / 258.3 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.008546, allocations: 0.5569 MB / 258.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.748e-05/0.008633, allocations: 265.5 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.008667, allocations: 130.9 kB / 259.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.008697, allocations: 123.2 kB / 259.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.477e-05/0.008782, allocations: 53.02 kB / 259.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.008784, allocations: 0 / 259.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.008895, allocations: 37.62 kB / 259.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.008924, allocations: 51.41 kB / 259.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.008993, allocations: 165.9 kB / 259.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.009004, allocations: 29.69 kB / 259.7 MB, free: 14.9 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.009037, allocations: 130.9 kB / 259.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.00905, allocations: 3.953 kB / 259.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.009072, allocations: 19.38 kB / 259.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.009191, allocations: 0.4885 MB / 260.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-06/0.009195, allocations: 0 / 260.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.009199, allocations: 0 / 260.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/0.009217, allocations: 11.69 kB / 260.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00922, allocations: 0 / 260.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.185e-05/0.009261, allocations: 37.69 kB / 260.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.009273, allocations: 4 kB / 260.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.009277, allocations: 0 / 260.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.009288, allocations: 3.938 kB / 260.4 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.028e-05/0.009308, allocations: 4.094 kB / 260.4 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.009312, allocations: 3.938 kB / 260.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.044e-05/0.009322, allocations: 0 / 260.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.009328, allocations: 4 kB / 260.4 MB, free: 14.16 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 7.442e-05/0.009403, allocations: 156.6 kB / 260.6 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.009409, allocations: 0 / 260.6 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.009452, allocations: 11.14 kB / 260.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009455, allocations: 3.938 kB / 260.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.009456, allocations: 0 / 260.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.00946, allocations: 0 / 260.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.00954, allocations: 97.25 kB / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009542, allocations: 4 kB / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-06/0.009545, allocations: 0 / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.009547, allocations: 0 / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.009552, allocations: 0 / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009553, allocations: 0 / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009554, allocations: 0 / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.484e-05/0.009628, allocations: 76.31 kB / 260.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-06/0.009636, allocations: 4 kB / 260.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.009645, allocations: 4 kB / 260.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-06/0.009651, allocations: 0 / 260.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.009662, allocations: 4.031 kB / 260.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.009667, allocations: 11.88 kB / 260.8 MB, free: 13.73 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.009711, allocations: 127.4 kB / 260.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009711, allocations: 0 / 260.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003206/0.01003, allocations: 131.6 kB / 261 MB, free: 13.48 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.0008449/0.01088, allocations: 0.5167 MB / 261.5 MB, free: 13 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.405e-05/0.01093, allocations: 15.67 kB / 261.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01093, allocations: 4.062 kB / 261.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.01094, allocations: 11.69 kB / 261.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.771e-05/0.01104, allocations: 15.78 kB / 261.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.01138, allocations: 113.6 kB / 261.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.01141, allocations: 59.3 kB / 261.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.47e-05/0.01144, allocations: 7.984 kB / 261.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.01147, allocations: 74.27 kB / 261.8 MB, free: 12.65 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01147, allocations: 0 / 261.8 MB, free: 12.65 MB / 250.7 MB Notification: Performance of Templates: time 0.004981/0.01645, allocations: 3.441 MB / 265.3 MB, free: 9.207 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.8892180710099638]