Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001653/0.001653, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002016/0.002016, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.227/0.227, allocations: 46.95 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 75.88 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3382, allocations: 66.02 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01242/0.3506, allocations: 8.074 MB / 0.5685 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.3638, allocations: 9.887 MB / 0.5781 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.3639, allocations: 0 / 0.5781 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.3641, allocations: 35.81 kB / 0.5782 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005837/0.3699, allocations: 1.852 MB / 0.58 GB, free: 304 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.714e-06/0.3699, allocations: 0 / 0.58 GB, free: 304 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3701, allocations: 51.67 kB / 0.58 GB, free: 252 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.3701, allocations: 7.938 kB / 0.58 GB, free: 244 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3702, allocations: 27.84 kB / 0.58 GB, free: 216 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.3703, allocations: 27.8 kB / 0.5801 GB, free: 188 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.3703, allocations: 4 kB / 0.5801 GB, free: 184 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.3806, allocations: 6.678 MB / 0.5866 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.3806, allocations: 15.91 kB / 0.5866 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.3807, allocations: 15.94 kB / 0.5866 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.3929, allocations: 5.088 MB / 0.5916 GB, free: 4.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.3929, allocations: 7.938 kB / 0.5916 GB, free: 4.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3929, allocations: 0 / 0.5916 GB, free: 4.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3929, allocations: 0 / 0.5916 GB, free: 4.355 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.002963/0.3958, allocations: 0.4997 MB / 0.5921 GB, free: 3.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3959, allocations: 12.03 kB / 0.5921 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.3959, allocations: 30.56 kB / 0.5921 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.3961, allocations: 15.98 kB / 0.5921 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.3962, allocations: 105.2 kB / 0.5922 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3962, allocations: 4 kB / 0.5923 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3962, allocations: 4 kB / 0.5923 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3964, allocations: 89.59 kB / 0.5923 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3964, allocations: 3.938 kB / 0.5923 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3964, allocations: 0 / 0.5923 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3964, allocations: 0 / 0.5923 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3965, allocations: 87.89 kB / 0.5924 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.397, allocations: 291.8 kB / 0.5927 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.989e-05/0.3971, allocations: 34.58 kB / 0.5927 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.3971, allocations: 32.94 kB / 0.5928 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003075/0.4002, allocations: 0.8076 MB / 0.5936 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.4003, allocations: 30.56 kB / 0.5936 GB, free: 2.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.4003, allocations: 0 / 0.5936 GB, free: 2.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003128/0.4006, allocations: 117.6 kB / 0.5937 GB, free: 2.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.4006, allocations: 51.41 kB / 0.5938 GB, free: 2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/0.4007, allocations: 93.86 kB / 0.5938 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4007, allocations: 29.7 kB / 0.5939 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.4008, allocations: 96.14 kB / 0.594 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.4008, allocations: 35.67 kB / 0.594 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.4009, allocations: 17.72 kB / 0.594 GB, free: 1.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.401, allocations: 322.8 kB / 0.5943 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.4011, allocations: 20 kB / 0.5943 GB, free: 1.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.4011, allocations: 37.7 kB / 0.5944 GB, free: 1.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.4012, allocations: 61.64 kB / 0.5944 GB, free: 1.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4012, allocations: 0 / 0.5944 GB, free: 1.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.4014, allocations: 106.1 kB / 0.5945 GB, free: 1.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4014, allocations: 8 kB / 0.5945 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4014, allocations: 0 / 0.5945 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4014, allocations: 0 / 0.5945 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.4015, allocations: 12.17 kB / 0.5946 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4015, allocations: 4 kB / 0.5946 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.4015, allocations: 4 kB / 0.5946 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.4016, allocations: 3.984 kB / 0.5946 GB, free: 1.113 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.982e-05/0.4017, allocations: 117.8 kB / 0.5947 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.4017, allocations: 7.953 kB / 0.5947 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.402, allocations: 145.7 kB / 0.5948 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001564/0.4021, allocations: 117.7 kB / 0.5949 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.4021, allocations: 4 kB / 0.5949 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4021, allocations: 0 / 0.5949 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.4026, allocations: 409.2 kB / 0.5953 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4026, allocations: 0 / 0.5953 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.4027, allocations: 12.19 kB / 0.5953 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4027, allocations: 7.922 kB / 0.5953 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4027, allocations: 7.938 kB / 0.5954 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4027, allocations: 8 kB / 0.5954 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4027, allocations: 0 / 0.5954 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.403, allocations: 231.3 kB / 0.5956 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.403, allocations: 7.953 kB / 0.5956 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.403, allocations: 3.938 kB / 0.5956 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.4031, allocations: 4 kB / 0.5956 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.4031, allocations: 7.938 kB / 0.5956 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.4031, allocations: 4 kB / 0.5956 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.4031, allocations: 79.28 kB / 0.5957 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4031, allocations: 0 / 0.5957 GB, free: 15.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002307/0.4055, allocations: 362.9 kB / 0.596 GB, free: 15.53 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.01444/0.4199, allocations: 4.761 MB / 0.6007 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.4202, allocations: 101.6 kB / 0.6008 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4202, allocations: 4 kB / 0.6008 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.4203, allocations: 39.98 kB / 0.6008 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.4208, allocations: 42.83 kB / 0.6009 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.4233, allocations: 410.2 kB / 0.6013 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.579e-05/0.4234, allocations: 79.45 kB / 0.6013 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.491e-05/0.4235, allocations: 19.88 kB / 0.6013 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.4235, allocations: 27.42 kB / 0.6014 GB, free: 9.957 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4235, allocations: 0 / 0.6014 GB, free: 9.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05462/0.4782, allocations: 20.83 MB / 0.6217 GB, free: 5.234 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.1, allocations: 4.938 kB / 0.6217 GB, free: 5.23 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 15.435310005996143]