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.001291/0.001291, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001508/0.001508, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8 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.2507/0.2507, allocations: 46.93 MB / 360.9 MB, free: 4.273 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.001958/0.001958, allocations: 67.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 66.04 MB / 0.5606 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01266/0.3413, allocations: 8.487 MB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.355, allocations: 11.27 MB / 0.5799 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.3551, allocations: 0 / 0.5799 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3553, allocations: 51.72 kB / 0.58 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.3609, allocations: 1.863 MB / 0.5818 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.216e-06/0.3609, allocations: 0 / 0.5818 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.361, allocations: 47.67 kB / 0.5819 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.3611, allocations: 15.86 kB / 0.5819 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3612, allocations: 23.92 kB / 0.5819 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.3613, allocations: 31.8 kB / 0.5819 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.3613, allocations: 0 / 0.5819 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01071/0.372, allocations: 6.756 MB / 0.5885 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.372, allocations: 0 / 0.5885 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.3721, allocations: 15.88 kB / 0.5885 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.3849, allocations: 5.096 MB / 0.5935 GB, free: 2.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.3849, allocations: 4 kB / 0.5935 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3849, allocations: 0 / 0.5935 GB, free: 2.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.3849, allocations: 0 / 0.5935 GB, free: 2.707 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.00319/0.3881, allocations: 0.5075 MB / 0.594 GB, free: 2.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3882, allocations: 8.031 kB / 0.594 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.3882, allocations: 38.55 kB / 0.5941 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.3883, allocations: 8 kB / 0.5941 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3884, allocations: 117.2 kB / 0.5942 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3885, allocations: 0 / 0.5942 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3885, allocations: 4 kB / 0.5942 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3887, allocations: 85.55 kB / 0.5943 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3887, allocations: 3.938 kB / 0.5943 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3887, allocations: 4 kB / 0.5943 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3887, allocations: 4 kB / 0.5943 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3888, allocations: 75.97 kB / 0.5943 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.3893, allocations: 291.8 kB / 0.5946 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.3894, allocations: 46.5 kB / 0.5947 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.3894, allocations: 20.92 kB / 0.5947 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002859/0.3923, allocations: 0.8076 MB / 0.5955 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3923, allocations: 34.56 kB / 0.5955 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3923, allocations: 0 / 0.5955 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002924/0.3926, allocations: 117.7 kB / 0.5956 GB, free: 416 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3926, allocations: 51.41 kB / 0.5957 GB, free: 352 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.3927, allocations: 97.86 kB / 0.5958 GB, free: 244 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3928, allocations: 25.7 kB / 0.5958 GB, free: 212 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.3928, allocations: 88.03 kB / 0.5959 GB, free: 120 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.3928, allocations: 31.73 kB / 0.5959 GB, free: 88 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.3929, allocations: 25.7 kB / 0.5959 GB, free: 56 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.393, allocations: 318.8 kB / 0.5962 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.3931, allocations: 24 kB / 0.5963 GB, free: 15.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.3931, allocations: 33.7 kB / 0.5963 GB, free: 15.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.3932, allocations: 66.02 kB / 0.5964 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3932, allocations: 0 / 0.5964 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001649/0.3934, allocations: 97.52 kB / 0.5964 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3934, allocations: 10.34 kB / 0.5965 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3934, allocations: 0 / 0.5965 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3934, allocations: 4.031 kB / 0.5965 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.3935, allocations: 12 kB / 0.5965 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.3935, allocations: 3.984 kB / 0.5965 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.3935, allocations: 4 kB / 0.5965 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3935, allocations: 0 / 0.5965 GB, free: 15.47 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 8.732e-05/0.3936, allocations: 121.7 kB / 0.5966 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.3937, allocations: 7.953 kB / 0.5966 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.3939, allocations: 141.7 kB / 0.5967 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/0.3941, allocations: 121.6 kB / 0.5969 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3941, allocations: 192 / 0.5969 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3941, allocations: 4.094 kB / 0.5969 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/0.3946, allocations: 417.3 kB / 0.5973 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3946, allocations: 256 / 0.5973 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.3947, allocations: 15.98 kB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.3947, allocations: 7.938 kB / 0.5973 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3947, allocations: 8 kB / 0.5973 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3947, allocations: 0 / 0.5973 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3947, allocations: 4 kB / 0.5973 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.395, allocations: 219.4 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.395, allocations: 11.94 kB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.395, allocations: 7.922 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.3951, allocations: 0 / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.3951, allocations: 4 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3951, allocations: 11.98 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.706e-05/0.3951, allocations: 79.28 kB / 0.5976 GB, free: 14.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3951, allocations: 4 kB / 0.5976 GB, free: 14.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00221/0.3973, allocations: 362.9 kB / 0.598 GB, free: 13.87 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.01389/0.4112, allocations: 4.742 MB / 0.6026 GB, free: 9.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.4115, allocations: 109.6 kB / 0.6027 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4115, allocations: 0 / 0.6027 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.4116, allocations: 39.98 kB / 0.6027 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.412, allocations: 40.48 kB / 0.6028 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.4136, allocations: 418.3 kB / 0.6032 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.414, allocations: 0.6962 MB / 0.6038 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.269e-05/0.414, allocations: 19.72 kB / 0.6039 GB, free: 7.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.4141, allocations: 27.44 kB / 0.6039 GB, free: 7.68 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4141, allocations: 0 / 0.6039 GB, free: 7.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05271/0.4668, allocations: 20.28 MB / 0.6237 GB, free: 3.488 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.21, allocations: 5.422 kB / 0.6237 GB, free: 3.488 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.595181256067008]