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.001915/0.001915, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00212/0.00212, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2186/0.2186, allocations: 46.97 MB / 360.9 MB, free: 4.062 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.002034/0.002034, allocations: 59.91 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3041, allocations: 66.05 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01244/0.3165, allocations: 8.047 MB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.329, allocations: 9.898 MB / 0.5781 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.3291, allocations: 0 / 0.5781 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.3293, allocations: 35.81 kB / 0.5781 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00546/0.3348, allocations: 1.84 MB / 0.5799 GB, free: 376 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.818e-06/0.3348, allocations: 0 / 0.5799 GB, free: 376 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3349, allocations: 55.66 kB / 0.58 GB, free: 320 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.3349, allocations: 7.938 kB / 0.58 GB, free: 312 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.3351, allocations: 31.86 kB / 0.58 GB, free: 280 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.3351, allocations: 19.86 kB / 0.58 GB, free: 260 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3351, allocations: 0 / 0.58 GB, free: 260 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.3461, allocations: 6.584 MB / 0.5865 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.3461, allocations: 4 kB / 0.5865 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.3462, allocations: 19.92 kB / 0.5865 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.3607, allocations: 5.092 MB / 0.5915 GB, free: 4.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3608, allocations: 4 kB / 0.5915 GB, free: 4.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3608, allocations: 0 / 0.5915 GB, free: 4.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3608, allocations: 0 / 0.5915 GB, free: 4.531 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.002509/0.3633, allocations: 0.4997 MB / 0.592 GB, free: 4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3633, allocations: 8.031 kB / 0.592 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.3634, allocations: 42.55 kB / 0.592 GB, free: 3.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3635, allocations: 4 kB / 0.592 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3636, allocations: 117 kB / 0.5921 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3636, allocations: 4 kB / 0.5921 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.3636, allocations: 8 kB / 0.5921 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3638, allocations: 81.55 kB / 0.5922 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3638, allocations: 4 kB / 0.5922 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3638, allocations: 8 kB / 0.5922 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3638, allocations: 3.984 kB / 0.5922 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3639, allocations: 75.97 kB / 0.5923 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.3644, allocations: 299.7 kB / 0.5926 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.3645, allocations: 42.55 kB / 0.5926 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.3645, allocations: 24.92 kB / 0.5927 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002846/0.3674, allocations: 0.8036 MB / 0.5934 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3674, allocations: 34.56 kB / 0.5935 GB, free: 2.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.3674, allocations: 4 kB / 0.5935 GB, free: 2.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002873/0.3677, allocations: 109.7 kB / 0.5936 GB, free: 2.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.3677, allocations: 55.41 kB / 0.5936 GB, free: 2.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.3678, allocations: 101.8 kB / 0.5937 GB, free: 2.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3678, allocations: 25.7 kB / 0.5938 GB, free: 2.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.3679, allocations: 92.03 kB / 0.5938 GB, free: 1.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.3679, allocations: 31.8 kB / 0.5939 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.3679, allocations: 25.7 kB / 0.5939 GB, free: 1.867 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3681, allocations: 318.8 kB / 0.5942 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.3681, allocations: 27.92 kB / 0.5942 GB, free: 1.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.084e-05/0.3682, allocations: 33.7 kB / 0.5943 GB, free: 1.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.769e-05/0.3683, allocations: 66.03 kB / 0.5943 GB, free: 1.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3683, allocations: 0 / 0.5943 GB, free: 1.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001664/0.3684, allocations: 93.58 kB / 0.5944 GB, free: 1.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3684, allocations: 10.53 kB / 0.5944 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3684, allocations: 0 / 0.5944 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3685, allocations: 4 kB / 0.5944 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.3685, allocations: 15.92 kB / 0.5944 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3685, allocations: 0 / 0.5944 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.3686, allocations: 4 kB / 0.5944 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3686, allocations: 4 kB / 0.5945 GB, free: 1.277 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 8.448e-05/0.3687, allocations: 113.8 kB / 0.5946 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.3687, allocations: 3.953 kB / 0.5946 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.369, allocations: 153.7 kB / 0.5947 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001541/0.3691, allocations: 117.6 kB / 0.5948 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3691, allocations: 0 / 0.5948 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3691, allocations: 3.984 kB / 0.5948 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.3696, allocations: 405.3 kB / 0.5952 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3696, allocations: 0 / 0.5952 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.3697, allocations: 19.92 kB / 0.5952 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3697, allocations: 7.938 kB / 0.5952 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3697, allocations: 0 / 0.5952 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3697, allocations: 0 / 0.5952 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3697, allocations: 4.25 kB / 0.5952 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.3699, allocations: 219.5 kB / 0.5955 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.3699, allocations: 19.88 kB / 0.5955 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.37, allocations: 7.938 kB / 0.5955 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.37, allocations: 4 kB / 0.5955 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.37, allocations: 7.984 kB / 0.5955 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.37, allocations: 0 / 0.5955 GB, free: 132 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.3701, allocations: 83.22 kB / 0.5956 GB, free: 48 kB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3701, allocations: 0 / 0.5956 GB, free: 48 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001921/0.372, allocations: 363 kB / 0.5959 GB, free: 15.69 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.01422/0.3862, allocations: 4.75 MB / 0.6006 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.3866, allocations: 105.6 kB / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3866, allocations: 0 / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.3867, allocations: 47.92 kB / 0.6007 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.3871, allocations: 44.14 kB / 0.6007 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3893, allocations: 410.2 kB / 0.6011 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.859e-05/0.3894, allocations: 79.08 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.3894, allocations: 24.05 kB / 0.6012 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.3895, allocations: 27.44 kB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3895, allocations: 0 / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05238/0.4418, allocations: 20.76 MB / 0.6215 GB, free: 5.465 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.64, allocations: 10.75 kB / 0.6215 GB, free: 5.457 MB / 462.1 MB " [Timeout remaining time 647] (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: 16.13097809581086]