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.001865/0.001865, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002342/0.002342, allocations: 207.1 kB / 23.73 MB, free: 4.414 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2307/0.2307, allocations: 46.94 MB / 360.8 MB, free: 3.945 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_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.002455/0.002455, allocations: 79.88 kB / 0.4966 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3288, allocations: 66.08 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01267/0.3414, allocations: 8.061 MB / 0.569 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.3547, allocations: 9.893 MB / 0.5787 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.3548, allocations: 0 / 0.5787 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.355, allocations: 39.81 kB / 0.5787 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.3606, allocations: 1.846 MB / 0.5805 GB, free: 72 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.043e-05/0.3606, allocations: 0 / 0.5805 GB, free: 72 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3607, allocations: 55.61 kB / 0.5806 GB, free: 16 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.3608, allocations: 4 kB / 0.5806 GB, free: 12 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3609, allocations: 35.84 kB / 0.5806 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.361, allocations: 11.94 kB / 0.5806 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.361, allocations: 3.938 kB / 0.5807 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.372, allocations: 6.588 MB / 0.5871 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.372, allocations: 4 kB / 0.5871 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.3721, allocations: 15.94 kB / 0.5871 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.3867, allocations: 5.096 MB / 0.5921 GB, free: 4.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3867, allocations: 4 kB / 0.5921 GB, free: 4.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3867, allocations: 0 / 0.5921 GB, free: 4.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.3867, allocations: 0 / 0.5921 GB, free: 4.234 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.002814/0.3895, allocations: 0.5036 MB / 0.5926 GB, free: 3.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3896, allocations: 8.031 kB / 0.5926 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3897, allocations: 15.98 kB / 0.5926 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3898, allocations: 105.2 kB / 0.5927 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3898, allocations: 7.938 kB / 0.5927 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3899, allocations: 0 / 0.5927 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.39, allocations: 81.67 kB / 0.5928 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.39, allocations: 3.938 kB / 0.5928 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.39, allocations: 7.984 kB / 0.5928 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3901, allocations: 0 / 0.5928 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3902, allocations: 79.95 kB / 0.5929 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.3906, allocations: 268.4 kB / 0.5931 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.3907, allocations: 42.45 kB / 0.5932 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.3908, allocations: 28.91 kB / 0.5932 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002962/0.3937, allocations: 0.8075 MB / 0.594 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3938, allocations: 38.56 kB / 0.594 GB, free: 2.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3938, allocations: 0 / 0.594 GB, free: 2.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003339/0.3941, allocations: 109.7 kB / 0.5941 GB, free: 2.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3941, allocations: 51.41 kB / 0.5942 GB, free: 1.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.3942, allocations: 97.84 kB / 0.5943 GB, free: 1.852 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3943, allocations: 29.7 kB / 0.5943 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.3943, allocations: 92.03 kB / 0.5944 GB, free: 1.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3943, allocations: 35.72 kB / 0.5944 GB, free: 1.688 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3944, allocations: 21.72 kB / 0.5944 GB, free: 1.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3945, allocations: 318.8 kB / 0.5947 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.3946, allocations: 20.11 kB / 0.5948 GB, free: 1.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.3946, allocations: 41.64 kB / 0.5948 GB, free: 1.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.3947, allocations: 65.66 kB / 0.5949 GB, free: 1.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3947, allocations: 0 / 0.5949 GB, free: 1.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/0.3949, allocations: 97.94 kB / 0.595 GB, free: 1.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3949, allocations: 4 kB / 0.595 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3949, allocations: 4.031 kB / 0.595 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.395, allocations: 4 kB / 0.595 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.395, allocations: 11.94 kB / 0.595 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.395, allocations: 0 / 0.595 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.3951, allocations: 4 kB / 0.595 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3951, allocations: 4 kB / 0.595 GB, free: 1.07 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.474e-05/0.3952, allocations: 121.7 kB / 0.5951 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.3952, allocations: 7.938 kB / 0.5951 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.3955, allocations: 149.7 kB / 0.5953 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001601/0.3957, allocations: 121.6 kB / 0.5954 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3957, allocations: 256 / 0.5954 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3957, allocations: 0 / 0.5954 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.3962, allocations: 378 kB / 0.5957 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3962, allocations: 0 / 0.5957 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.3962, allocations: 15.98 kB / 0.5957 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3962, allocations: 0 / 0.5957 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.3962, allocations: 0 / 0.5957 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3962, allocations: 0 / 0.5957 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3962, allocations: 8.125 kB / 0.5958 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3965, allocations: 234.3 kB / 0.596 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.3965, allocations: 11.89 kB / 0.596 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.3966, allocations: 4 kB / 0.596 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.3966, allocations: 3.938 kB / 0.596 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.3966, allocations: 7.938 kB / 0.596 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3967, allocations: 7.938 kB / 0.596 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.282e-05/0.3967, allocations: 91.44 kB / 0.5961 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3967, allocations: 0 / 0.5961 GB, free: 15.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003215/0.3999, allocations: 355 kB / 0.5964 GB, free: 15.52 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.01411/0.414, allocations: 4.086 MB / 0.6004 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.4144, allocations: 101.7 kB / 0.6005 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4144, allocations: 0 / 0.6005 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.4144, allocations: 51.92 kB / 0.6006 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.4149, allocations: 48.12 kB / 0.6006 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.4155, allocations: 213.6 kB / 0.6008 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.379e-05/0.4156, allocations: 83.08 kB / 0.6009 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.4156, allocations: 20.14 kB / 0.6009 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.4157, allocations: 19.44 kB / 0.6009 GB, free: 10.83 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4157, allocations: 0 / 0.6009 GB, free: 10.83 MB / 446.1 MB Notification: Performance of Templates: time 0.02894/0.4446, allocations: 18.4 MB / 0.6189 GB, free: 8.426 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 -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/jenkins/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/jenkins/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.7650585398077965]