Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001279/0.001279, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001446/0.001446, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2304/0.2304, allocations: 46.93 MB / 360.9 MB, free: 4.246 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,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.12 kB / 0.4961 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 66.04 MB / 0.5606 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01235/0.3469, allocations: 8.468 MB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.3606, allocations: 11.28 MB / 0.5799 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.3607, allocations: 3.938 kB / 0.5799 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3609, allocations: 39.81 kB / 0.58 GB, free: 496 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006516/0.3674, allocations: 1.86 MB / 0.5818 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.004e-05/0.3675, allocations: 0 / 0.5818 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3676, allocations: 59.55 kB / 0.5818 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.3676, allocations: 7.922 kB / 0.5818 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.3678, allocations: 35.86 kB / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.3678, allocations: 15.92 kB / 0.5819 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.3679, allocations: 0 / 0.5819 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.3789, allocations: 6.752 MB / 0.5885 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.379, allocations: 0 / 0.5885 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.379, allocations: 27.84 kB / 0.5885 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.3917, allocations: 5.092 MB / 0.5935 GB, free: 2.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3917, allocations: 0 / 0.5935 GB, free: 2.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3917, allocations: 0 / 0.5935 GB, free: 2.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3918, allocations: 4 kB / 0.5935 GB, free: 2.605 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.002911/0.3947, allocations: 0.5036 MB / 0.594 GB, free: 2.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3947, allocations: 8.031 kB / 0.594 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.3948, allocations: 42.55 kB / 0.594 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3949, allocations: 4 kB / 0.594 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.395, allocations: 121 kB / 0.5942 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.395, allocations: 3.984 kB / 0.5942 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.395, allocations: 7.984 kB / 0.5942 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3952, allocations: 81.61 kB / 0.5942 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3952, allocations: 4 kB / 0.5942 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3952, allocations: 7.984 kB / 0.5943 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3952, allocations: 0 / 0.5943 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3953, allocations: 79.91 kB / 0.5943 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.3958, allocations: 295.8 kB / 0.5946 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.3959, allocations: 38.58 kB / 0.5946 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.3959, allocations: 24.91 kB / 0.5947 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002842/0.3987, allocations: 0.8076 MB / 0.5955 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.3988, allocations: 30.56 kB / 0.5955 GB, free: 432 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3988, allocations: 4 kB / 0.5955 GB, free: 428 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002898/0.3991, allocations: 109.7 kB / 0.5956 GB, free: 312 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3991, allocations: 55.39 kB / 0.5957 GB, free: 244 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.3992, allocations: 97.86 kB / 0.5957 GB, free: 136 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.3992, allocations: 25.7 kB / 0.5958 GB, free: 104 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.3993, allocations: 88.03 kB / 0.5959 GB, free: 12 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.3993, allocations: 35.78 kB / 0.5959 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.3994, allocations: 25.59 kB / 0.5959 GB, free: 15.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3995, allocations: 326.8 kB / 0.5962 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.3996, allocations: 20 kB / 0.5962 GB, free: 15.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.3996, allocations: 33.7 kB / 0.5963 GB, free: 15.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.3997, allocations: 70.02 kB / 0.5963 GB, free: 15.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3997, allocations: 0 / 0.5963 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.3999, allocations: 97.58 kB / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3999, allocations: 4 kB / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3999, allocations: 4.031 kB / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3999, allocations: 3.938 kB / 0.5964 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.4, allocations: 8 kB / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4, allocations: 4 kB / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.4, allocations: 192 / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4, allocations: 8 kB / 0.5965 GB, free: 15.35 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 9.384e-05/0.4001, allocations: 121.7 kB / 0.5966 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.4002, allocations: 7.953 kB / 0.5966 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.4004, allocations: 157.3 kB / 0.5967 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001644/0.4006, allocations: 117.7 kB / 0.5969 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4006, allocations: 0 / 0.5969 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4006, allocations: 0 / 0.5969 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.4011, allocations: 401.4 kB / 0.5972 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4011, allocations: 0 / 0.5972 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.4012, allocations: 19.92 kB / 0.5973 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4012, allocations: 3.938 kB / 0.5973 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4012, allocations: 8 kB / 0.5973 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4012, allocations: 4 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4012, allocations: 0 / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.4014, allocations: 223.7 kB / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.4014, allocations: 7.922 kB / 0.5975 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.4014, allocations: 3.938 kB / 0.5975 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.4015, allocations: 4 kB / 0.5975 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.4015, allocations: 11.92 kB / 0.5975 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.4015, allocations: 4 kB / 0.5975 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.224e-05/0.4016, allocations: 87.27 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4016, allocations: 0 / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002215/0.4038, allocations: 362.9 kB / 0.5979 GB, free: 13.76 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.01445/0.4182, allocations: 4.747 MB / 0.6026 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.4186, allocations: 101.7 kB / 0.6027 GB, free: 8.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4186, allocations: 0 / 0.6027 GB, free: 8.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.138e-05/0.4186, allocations: 43.92 kB / 0.6027 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.4191, allocations: 40 kB / 0.6028 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.4215, allocations: 414.2 kB / 0.6031 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.4219, allocations: 0.6924 MB / 0.6038 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.422, allocations: 19.86 kB / 0.6038 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.422, allocations: 31.42 kB / 0.6039 GB, free: 7.57 MB / 446.1 MB Notification: Performance of SimCode: time 6.12e-07/0.422, allocations: 3.938 kB / 0.6039 GB, free: 7.566 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/0.4759, allocations: 20.28 MB / 0.6237 GB, free: 3.375 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.23, allocations: 6.688 kB / 0.6237 GB, free: 3.371 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 15.618883451912552]