Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 165.4 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 177.1 MB / 204.7 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 34.25 MB / 295.4 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 79.88 kB / 443.1 MB, free: 6.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3172, allocations: 66.05 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.00966/0.3269, allocations: 8.065 MB / 0.5051 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008765/0.3356, allocations: 9.9 MB / 0.5148 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.3357, allocations: 0 / 0.5148 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.336, allocations: 28.88 kB / 0.5148 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.3413, allocations: 1.85 MB / 0.5166 GB, free: 17.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.135e-06/0.3414, allocations: 0 / 0.5166 GB, free: 17.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3415, allocations: 50.77 kB / 0.5167 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.3415, allocations: 7.156 kB / 0.5167 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3416, allocations: 26.48 kB / 0.5167 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.3417, allocations: 27.03 kB / 0.5167 GB, free: 17.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3417, allocations: 1.188 kB / 0.5167 GB, free: 17.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.3535, allocations: 6.582 MB / 0.5232 GB, free: 17.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.3535, allocations: 1.641 kB / 0.5232 GB, free: 17.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.3535, allocations: 18.39 kB / 0.5232 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0193/0.3728, allocations: 5.094 MB / 0.5282 GB, free: 16.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3728, allocations: 4 kB / 0.5282 GB, free: 16.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3728, allocations: 1.375 kB / 0.5282 GB, free: 16.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3729, allocations: 0.75 kB / 0.5282 GB, free: 16.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.009618/0.3825, allocations: 0.504 MB / 0.5287 GB, free: 16.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3825, allocations: 9.062 kB / 0.5287 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.3827, allocations: 8.844 kB / 0.5287 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.3827, allocations: 111.8 kB / 0.5288 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3828, allocations: 2.203 kB / 0.5288 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3828, allocations: 6.656 kB / 0.5288 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3829, allocations: 75.48 kB / 0.5289 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3829, allocations: 9.5 kB / 0.5289 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.383, allocations: 0 / 0.5289 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.383, allocations: 5.734 kB / 0.5289 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3831, allocations: 76.34 kB / 0.5289 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3835, allocations: 270.9 kB / 0.5292 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.762e-05/0.3835, allocations: 44.23 kB / 0.5292 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.3836, allocations: 29.72 kB / 0.5293 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/0.3865, allocations: 0.8067 MB / 0.5301 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3865, allocations: 31.88 kB / 0.5301 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.3865, allocations: 0 / 0.5301 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002841/0.3868, allocations: 111.3 kB / 0.5302 GB, free: 15.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.3868, allocations: 53.39 kB / 0.5302 GB, free: 15.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.3869, allocations: 100.5 kB / 0.5303 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.3869, allocations: 25.7 kB / 0.5304 GB, free: 15.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.3869, allocations: 93.97 kB / 0.5305 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.387, allocations: 34.27 kB / 0.5305 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.387, allocations: 23.73 kB / 0.5305 GB, free: 15.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.387, allocations: 321.4 kB / 0.5308 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.3871, allocations: 20.86 kB / 0.5308 GB, free: 14.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.3871, allocations: 37.16 kB / 0.5309 GB, free: 14.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.3872, allocations: 62.23 kB / 0.5309 GB, free: 14.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3872, allocations: 0 / 0.5309 GB, free: 14.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.3874, allocations: 99.14 kB / 0.531 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3874, allocations: 5.625 kB / 0.531 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3874, allocations: 7.969 kB / 0.531 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3874, allocations: 1.734 kB / 0.531 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.3875, allocations: 9.312 kB / 0.5311 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3875, allocations: 4.594 kB / 0.5311 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.3875, allocations: 2.344 kB / 0.5311 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.3875, allocations: 8.219 kB / 0.5311 GB, free: 14.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.462e-05/0.3876, allocations: 115.8 kB / 0.5312 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.3876, allocations: 8.125 kB / 0.5312 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.3878, allocations: 143.9 kB / 0.5313 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/0.388, allocations: 132.2 kB / 0.5314 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.388, allocations: 1.156 kB / 0.5314 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.388, allocations: 0.6094 kB / 0.5315 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.3884, allocations: 373.1 kB / 0.5318 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3884, allocations: 1.188 kB / 0.5318 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.3884, allocations: 17.77 kB / 0.5318 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3884, allocations: 1.188 kB / 0.5318 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3884, allocations: 2.031 kB / 0.5318 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3884, allocations: 1.531 kB / 0.5318 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3884, allocations: 7.875 kB / 0.5318 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.3886, allocations: 222.9 kB / 0.532 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.3886, allocations: 19.34 kB / 0.5321 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3887, allocations: 1.797 kB / 0.5321 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.3887, allocations: 0 / 0.5321 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.3887, allocations: 14.5 kB / 0.5321 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3887, allocations: 4.156 kB / 0.5321 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.156e-05/0.3888, allocations: 77.8 kB / 0.5322 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3888, allocations: 1.25 kB / 0.5322 GB, free: 13.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005654/0.3944, allocations: 362.4 kB / 0.5325 GB, free: 13.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.02149/0.4159, allocations: 4.089 MB / 0.5365 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.4162, allocations: 105.4 kB / 0.5366 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4162, allocations: 0 / 0.5366 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.4163, allocations: 53.81 kB / 0.5367 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.4168, allocations: 42.92 kB / 0.5367 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.4172, allocations: 225.1 kB / 0.5369 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.389e-05/0.4173, allocations: 79.39 kB / 0.537 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.4173, allocations: 15.88 kB / 0.537 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.4174, allocations: 16.5 kB / 0.537 GB, free: 11.05 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4174, allocations: 0 / 0.537 GB, free: 11.05 MB / 446.1 MB Notification: Performance of Templates: time 0.02674/0.4441, allocations: 18.31 MB / 0.5549 GB, free: 10.27 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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: 6.517583006061614]