Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001438/0.001438, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.001551/0.001551, allocations: 215.4 kB / 24.48 MB, free: 3.93 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.498/1.498, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.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.2669/0.2669, allocations: 46.95 MB / 361.5 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 179] 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_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 75.88 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3361, allocations: 66.08 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01245/0.3485, allocations: 8.061 MB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.3616, allocations: 9.893 MB / 0.5794 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.3617, allocations: 0 / 0.5794 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3619, allocations: 39.81 kB / 0.5795 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006242/0.3681, allocations: 1.85 MB / 0.5813 GB, free: 60 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.12e-05/0.3681, allocations: 0 / 0.5813 GB, free: 60 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3683, allocations: 47.67 kB / 0.5813 GB, free: 12 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.802e-05/0.3683, allocations: 4 kB / 0.5813 GB, free: 8 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3685, allocations: 35.84 kB / 0.5814 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.3686, allocations: 11.94 kB / 0.5814 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3686, allocations: 4 kB / 0.5814 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/0.3801, allocations: 6.693 MB / 0.5879 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.3802, allocations: 3.938 kB / 0.5879 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.3802, allocations: 11.94 kB / 0.5879 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.396, allocations: 5.1 MB / 0.5929 GB, free: 4.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.396, allocations: 4 kB / 0.5929 GB, free: 4.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.396, allocations: 0 / 0.5929 GB, free: 4.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.396, allocations: 4 kB / 0.5929 GB, free: 4.121 MB / 430.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.003533/0.3996, allocations: 0.4997 MB / 0.5934 GB, free: 3.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3996, allocations: 12.03 kB / 0.5934 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.3997, allocations: 11.98 kB / 0.5934 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.3999, allocations: 113.1 kB / 0.5935 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3999, allocations: 0 / 0.5935 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.3999, allocations: 8 kB / 0.5935 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4001, allocations: 73.67 kB / 0.5936 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4001, allocations: 7.922 kB / 0.5936 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.4001, allocations: 4 kB / 0.5936 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.4001, allocations: 0 / 0.5936 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.4002, allocations: 87.95 kB / 0.5937 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.4006, allocations: 268.3 kB / 0.594 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.4007, allocations: 42.52 kB / 0.594 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.4008, allocations: 28.91 kB / 0.594 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003126/0.4039, allocations: 0.8076 MB / 0.5948 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.4039, allocations: 30.56 kB / 0.5948 GB, free: 2.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.4039, allocations: 0 / 0.5948 GB, free: 2.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003221/0.4043, allocations: 109.7 kB / 0.5949 GB, free: 1.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.4043, allocations: 51.41 kB / 0.595 GB, free: 1.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.4044, allocations: 101.8 kB / 0.5951 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.4044, allocations: 25.7 kB / 0.5951 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.4045, allocations: 92.03 kB / 0.5952 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.4045, allocations: 35.72 kB / 0.5952 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.4046, allocations: 17.72 kB / 0.5953 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4047, allocations: 330.8 kB / 0.5956 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.4048, allocations: 20 kB / 0.5956 GB, free: 1.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.4048, allocations: 41.7 kB / 0.5956 GB, free: 1.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.4049, allocations: 57.83 kB / 0.5957 GB, free: 1.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4049, allocations: 3.938 kB / 0.5957 GB, free: 1.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.4051, allocations: 101.9 kB / 0.5958 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4051, allocations: 8 kB / 0.5958 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4051, allocations: 0 / 0.5958 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4051, allocations: 0 / 0.5958 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.4052, allocations: 16.03 kB / 0.5958 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4052, allocations: 3.938 kB / 0.5958 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.4052, allocations: 4 kB / 0.5958 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.4052, allocations: 0 / 0.5958 GB, free: 0.9531 MB / 430.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 9.253e-05/0.4053, allocations: 125.7 kB / 0.5959 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.4054, allocations: 7.953 kB / 0.5959 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.4056, allocations: 139.5 kB / 0.5961 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001536/0.4058, allocations: 117.6 kB / 0.5962 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4058, allocations: 4 kB / 0.5962 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.4058, allocations: 4 kB / 0.5962 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.4063, allocations: 373.1 kB / 0.5966 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4063, allocations: 0 / 0.5966 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.4064, allocations: 16.17 kB / 0.5966 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4064, allocations: 0 / 0.5966 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4064, allocations: 11.94 kB / 0.5966 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4064, allocations: 0 / 0.5966 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4064, allocations: 7.875 kB / 0.5966 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.4066, allocations: 223.5 kB / 0.5968 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.4067, allocations: 7.891 kB / 0.5968 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.4067, allocations: 11.98 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.4067, allocations: 0 / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.4068, allocations: 11.94 kB / 0.5968 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4068, allocations: 4.172 kB / 0.5968 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.945e-05/0.4068, allocations: 83.27 kB / 0.5969 GB, free: 15.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4068, allocations: 3.938 kB / 0.5969 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002105/0.4089, allocations: 363 kB / 0.5973 GB, free: 15.4 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.01392/0.4228, allocations: 4.088 MB / 0.6013 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.4231, allocations: 105.7 kB / 0.6014 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4231, allocations: 0 / 0.6014 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.4232, allocations: 47.92 kB / 0.6014 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.4237, allocations: 35.94 kB / 0.6014 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.4241, allocations: 225.7 kB / 0.6017 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.4242, allocations: 79.08 kB / 0.6017 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.4243, allocations: 12.22 kB / 0.6017 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4243, allocations: 19.44 kB / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4243, allocations: 0 / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of Templates: time 0.02874/0.4531, allocations: 18.46 MB / 0.6198 GB, free: 8.25 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.795010998001089]