Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001777/0.001777, 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.002072/0.002072, allocations: 213.3 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.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.92 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 67.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.336, allocations: 65.47 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01249/0.3485, allocations: 8.456 MB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.3621, allocations: 11.26 MB / 0.5763 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.3622, allocations: 8 kB / 0.5763 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.3625, allocations: 35.81 kB / 0.5763 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.3682, allocations: 1.864 MB / 0.5781 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.36e-06/0.3682, allocations: 0 / 0.5781 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3683, allocations: 43.67 kB / 0.5782 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.3684, allocations: 7.938 kB / 0.5782 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3685, allocations: 31.86 kB / 0.5782 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.3686, allocations: 19.91 kB / 0.5782 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.3686, allocations: 0 / 0.5782 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.3794, allocations: 6.752 MB / 0.5848 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.3795, allocations: 7.875 kB / 0.5848 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.3795, allocations: 15.94 kB / 0.5848 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.3906, allocations: 5.088 MB / 0.5898 GB, free: 6.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.3906, allocations: 7.938 kB / 0.5898 GB, free: 6.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3906, allocations: 4 kB / 0.5898 GB, free: 6.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3907, allocations: 4 kB / 0.5898 GB, free: 6.07 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.002872/0.3935, allocations: 0.492 MB / 0.5903 GB, free: 5.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.3936, allocations: 15.97 kB / 0.5903 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.3936, allocations: 34.56 kB / 0.5904 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.3938, allocations: 11.94 kB / 0.5904 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3939, allocations: 105.2 kB / 0.5905 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3939, allocations: 0 / 0.5905 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3939, allocations: 8 kB / 0.5905 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3941, allocations: 81.61 kB / 0.5905 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3941, allocations: 3.938 kB / 0.5906 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3941, allocations: 8 kB / 0.5906 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.3941, allocations: 0 / 0.5906 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3942, allocations: 79.95 kB / 0.5906 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.3947, allocations: 287.8 kB / 0.5909 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.3948, allocations: 34.56 kB / 0.5909 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.3948, allocations: 32.95 kB / 0.591 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/0.3978, allocations: 0.8037 MB / 0.5918 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3978, allocations: 30.56 kB / 0.5918 GB, free: 3.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3978, allocations: 4 kB / 0.5918 GB, free: 3.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002803/0.3981, allocations: 125.5 kB / 0.5919 GB, free: 3.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3981, allocations: 51.41 kB / 0.592 GB, free: 3.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.3982, allocations: 93.86 kB / 0.5921 GB, free: 3.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3982, allocations: 25.7 kB / 0.5921 GB, free: 3.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.3982, allocations: 84.09 kB / 0.5922 GB, free: 3.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3983, allocations: 31.73 kB / 0.5922 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3983, allocations: 25.83 kB / 0.5922 GB, free: 3.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3984, allocations: 322.8 kB / 0.5925 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.3985, allocations: 20 kB / 0.5925 GB, free: 3.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.3985, allocations: 33.7 kB / 0.5926 GB, free: 3.059 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.404e-05/0.3986, allocations: 65.64 kB / 0.5926 GB, free: 2.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3986, allocations: 0 / 0.5926 GB, free: 2.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.3988, allocations: 97.58 kB / 0.5927 GB, free: 2.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3988, allocations: 12.03 kB / 0.5927 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3988, allocations: 0 / 0.5927 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3988, allocations: 0 / 0.5927 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.3989, allocations: 8 kB / 0.5927 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3989, allocations: 0 / 0.5927 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.3989, allocations: 7.984 kB / 0.5928 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.399, allocations: 384 / 0.5928 GB, free: 2.859 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.796e-05/0.399, allocations: 117.8 kB / 0.5929 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.3991, allocations: 3.953 kB / 0.5929 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3993, allocations: 157.4 kB / 0.593 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001494/0.3995, allocations: 125.4 kB / 0.5931 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3995, allocations: 256 / 0.5931 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3995, allocations: 0 / 0.5931 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.4, allocations: 413.3 kB / 0.5935 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4, allocations: 0 / 0.5935 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.4, allocations: 15.98 kB / 0.5935 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4001, allocations: 4.125 kB / 0.5936 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4001, allocations: 12 kB / 0.5936 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4001, allocations: 3.938 kB / 0.5936 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4001, allocations: 0 / 0.5936 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.4003, allocations: 215.4 kB / 0.5938 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.4003, allocations: 8 kB / 0.5938 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4003, allocations: 3.938 kB / 0.5938 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.4004, allocations: 0 / 0.5938 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.4004, allocations: 7.984 kB / 0.5938 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.4004, allocations: 12 kB / 0.5938 GB, free: 1.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.649e-05/0.4004, allocations: 79.28 kB / 0.5939 GB, free: 1.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4004, allocations: 0 / 0.5939 GB, free: 1.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001989/0.4024, allocations: 370.8 kB / 0.5942 GB, free: 1.262 MB / 430.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.01473/0.4172, allocations: 4.731 MB / 0.5989 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.4175, allocations: 105.6 kB / 0.599 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.4175, allocations: 4 kB / 0.599 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.4176, allocations: 40.17 kB / 0.599 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.4181, allocations: 56.19 kB / 0.599 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.4201, allocations: 401.5 kB / 0.5994 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.4204, allocations: 0.6846 MB / 0.6001 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.4205, allocations: 19.92 kB / 0.6001 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.4205, allocations: 23.44 kB / 0.6001 GB, free: 11.1 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4205, allocations: 0 / 0.6001 GB, free: 11.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/0.4766, allocations: 20.18 MB / 0.6198 GB, free: 7.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.46, allocations: 3.938 kB / 0.6198 GB, free: 7.016 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.859683547867462]