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.001979/0.001979, allocations: 95.55 kB / 21.73 MB, free: 2.688 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.002233/0.002233, allocations: 163.2 kB / 25.03 MB, free: 8.922 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.492/1.492, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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 2.935e-06/2.935e-06, allocations: 0 / 250.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.346e-05/4.64e-05, allocations: 2.312 kB / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.004682/0.004728, allocations: 1.194 MB / 251.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006049/0.01078, allocations: 2.078 MB / 253.6 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.01081, allocations: 0 / 253.6 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.01084, allocations: 7.938 kB / 253.6 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.01304, allocations: 446.3 kB / 254 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.447e-05/0.01309, allocations: 7.984 kB / 254.1 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.243e-05/0.01316, allocations: 7.938 kB / 254.1 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.01321, allocations: 0 / 254.1 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.01327, allocations: 7.984 kB / 254.1 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.01361, allocations: 7.984 kB / 254.1 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.01363, allocations: 0 / 254.1 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.015, allocations: 451.3 kB / 254.5 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.01501, allocations: 0 / 254.5 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.01504, allocations: 3.984 kB / 254.5 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.01623, allocations: 422.9 kB / 254.9 MB, free: 3.227 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.01624, allocations: 8 kB / 254.9 MB, free: 3.219 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01624, allocations: 0 / 254.9 MB, free: 3.219 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.01625, allocations: 0 / 254.9 MB, free: 3.219 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.0009378/0.01719, allocations: 435.5 kB / 255.4 MB, free: 2.758 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.01725, allocations: 11.98 kB / 255.4 MB, free: 2.746 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.01741, allocations: 120.1 kB / 255.5 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.01772, allocations: 235.8 kB / 255.7 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.0179, allocations: 242.8 kB / 256 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.01808, allocations: 238.8 kB / 256.2 MB, free: 1.898 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.01824, allocations: 149.4 kB / 256.3 MB, free: 1.746 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.01837, allocations: 123.1 kB / 256.5 MB, free: 1.625 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.01856, allocations: 242.4 kB / 256.7 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.01874, allocations: 242.4 kB / 256.9 MB, free: 1.148 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.01892, allocations: 242.4 kB / 257.2 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.01956, allocations: 0.5681 MB / 257.7 MB, free: 312 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.01983, allocations: 265.4 kB / 258 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.01997, allocations: 134.9 kB / 258.1 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.99e-05/0.02007, allocations: 123.2 kB / 258.2 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.02029, allocations: 49.06 kB / 258.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 3.135e-06/0.0203, allocations: 0 / 258.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002679/0.02056, allocations: 41.58 kB / 258.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.02065, allocations: 55.41 kB / 258.4 MB, free: 15.6 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.02087, allocations: 161.9 kB / 258.6 MB, free: 15.42 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.0209, allocations: 25.7 kB / 258.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.02103, allocations: 130.9 kB / 258.7 MB, free: 15.26 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.02106, allocations: 7.953 kB / 258.7 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.02112, allocations: 15.38 kB / 258.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004166/0.02154, allocations: 492.1 kB / 259.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.02157, allocations: 4 kB / 259.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.02158, allocations: 0 / 259.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.02163, allocations: 19.88 kB / 259.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02163, allocations: 3.938 kB / 259.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001124/0.02174, allocations: 37.62 kB / 259.3 MB, free: 14.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.02176, allocations: 4 kB / 259.3 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.02178, allocations: 7.938 kB / 259.3 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.0218, allocations: 0 / 259.3 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-05/0.02183, allocations: 0 / 259.3 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.02184, allocations: 0 / 259.3 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.02187, allocations: 0 / 259.3 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.02188, allocations: 0 / 259.3 MB, free: 14.65 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 0.0002053/0.02208, allocations: 160.6 kB / 259.4 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.0221, allocations: 3.984 kB / 259.4 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.02217, allocations: 11.05 kB / 259.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.02217, allocations: 0 / 259.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02217, allocations: 4 kB / 259.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02218, allocations: 0 / 259.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.02238, allocations: 112.6 kB / 259.6 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.02239, allocations: 7.984 kB / 259.6 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-06/0.0224, allocations: 0 / 259.6 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.0224, allocations: 0 / 259.6 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.02241, allocations: 4 kB / 259.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.02242, allocations: 3.938 kB / 259.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02242, allocations: 0 / 259.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.02257, allocations: 72.58 kB / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.02258, allocations: 3.984 kB / 259.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.02261, allocations: 3.984 kB / 259.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.02263, allocations: 7.938 kB / 259.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.02266, allocations: 0 / 259.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.02266, allocations: 0 / 259.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.02278, allocations: 123.2 kB / 259.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02278, allocations: 0 / 259.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007931/0.02357, allocations: 139.6 kB / 259.9 MB, free: 13.93 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.002514/0.02608, allocations: 0.5088 MB / 260.4 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.02621, allocations: 7.688 kB / 260.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.02622, allocations: 4 kB / 260.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.02624, allocations: 11.62 kB / 260.5 MB, free: 13.44 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.02649, allocations: 8 kB / 260.5 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.027, allocations: 121.5 kB / 260.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.923e-05/0.0271, allocations: 59.34 kB / 260.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.02714, allocations: 4 kB / 260.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.02718, allocations: 16.48 kB / 260.7 MB, free: 13.19 MB / 250.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02719, allocations: 4 kB / 260.7 MB, free: 13.19 MB / 250.7 MB Notification: Performance of Templates: time 0.01176/0.03895, allocations: 2.858 MB / 263.5 MB, free: 10.33 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.920167519012466]