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.001725/0.001725, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002101/0.002101, allocations: 209.7 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2206/0.2206, allocations: 44.94 MB / 358.9 MB, free: 6.062 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.002071/0.002071, allocations: 67.89 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.336, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01233/0.3483, allocations: 8.029 MB / 0.5648 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.3609, allocations: 9.887 MB / 0.5745 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.3609, allocations: 0 / 0.5745 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.3612, allocations: 35.81 kB / 0.5745 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00562/0.3668, allocations: 1.841 MB / 0.5763 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.727e-06/0.3668, allocations: 0 / 0.5763 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3669, allocations: 47.67 kB / 0.5763 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.367, allocations: 7.922 kB / 0.5763 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.3671, allocations: 31.86 kB / 0.5764 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.3672, allocations: 15.92 kB / 0.5764 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-06/0.3672, allocations: 0 / 0.5764 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.3776, allocations: 6.588 MB / 0.5828 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.3776, allocations: 3.938 kB / 0.5828 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.3777, allocations: 15.92 kB / 0.5828 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.3928, allocations: 5.092 MB / 0.5878 GB, free: 7.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.3928, allocations: 0 / 0.5878 GB, free: 7.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.3928, allocations: 0 / 0.5878 GB, free: 7.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3928, allocations: 0 / 0.5878 GB, free: 7.848 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.003637/0.3965, allocations: 0.492 MB / 0.5883 GB, free: 7.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.3965, allocations: 12.03 kB / 0.5883 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.3966, allocations: 30.56 kB / 0.5883 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.3967, allocations: 19.94 kB / 0.5883 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.144e-05/0.3968, allocations: 109.2 kB / 0.5884 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3968, allocations: 0 / 0.5884 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3968, allocations: 7.938 kB / 0.5885 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.397, allocations: 85.61 kB / 0.5885 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.397, allocations: 0 / 0.5885 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.397, allocations: 0 / 0.5885 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.397, allocations: 4 kB / 0.5885 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3972, allocations: 83.95 kB / 0.5886 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.3977, allocations: 295.7 kB / 0.5889 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3978, allocations: 34.58 kB / 0.5889 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.3979, allocations: 28.91 kB / 0.589 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00306/0.4009, allocations: 0.8076 MB / 0.5898 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.401, allocations: 34.55 kB / 0.5898 GB, free: 5.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.401, allocations: 0 / 0.5898 GB, free: 5.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003728/0.4014, allocations: 117.7 kB / 0.5899 GB, free: 5.559 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.4014, allocations: 51.41 kB / 0.5899 GB, free: 5.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4015, allocations: 101.8 kB / 0.59 GB, free: 5.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4015, allocations: 25.7 kB / 0.5901 GB, free: 5.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.4016, allocations: 84.09 kB / 0.5902 GB, free: 5.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.4016, allocations: 27.75 kB / 0.5902 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.4017, allocations: 25.7 kB / 0.5902 GB, free: 5.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.4019, allocations: 318.8 kB / 0.5905 GB, free: 4.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.4019, allocations: 23.98 kB / 0.5905 GB, free: 4.867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.402, allocations: 37.64 kB / 0.5906 GB, free: 4.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4021, allocations: 65.84 kB / 0.5906 GB, free: 4.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4021, allocations: 0 / 0.5906 GB, free: 4.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.4023, allocations: 93.58 kB / 0.5907 GB, free: 4.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4023, allocations: 4 kB / 0.5907 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4023, allocations: 0 / 0.5907 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4023, allocations: 0 / 0.5907 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.4024, allocations: 16.3 kB / 0.5907 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4024, allocations: 4 kB / 0.5907 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.4024, allocations: 4 kB / 0.5907 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.4024, allocations: 8.031 kB / 0.5908 GB, free: 4.621 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.195e-05/0.4025, allocations: 117.7 kB / 0.5909 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.4026, allocations: 7.953 kB / 0.5909 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.4028, allocations: 148.8 kB / 0.591 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001471/0.403, allocations: 113.6 kB / 0.5911 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.403, allocations: 4 kB / 0.5911 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.403, allocations: 3.984 kB / 0.5911 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.4035, allocations: 397.4 kB / 0.5915 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4035, allocations: 4.094 kB / 0.5915 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.4036, allocations: 27.92 kB / 0.5915 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4036, allocations: 3.938 kB / 0.5915 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4036, allocations: 3.938 kB / 0.5915 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4036, allocations: 0 / 0.5915 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4036, allocations: 0 / 0.5915 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.4038, allocations: 219.5 kB / 0.5918 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.4038, allocations: 4 kB / 0.5918 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.4039, allocations: 8.172 kB / 0.5918 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.4039, allocations: 8 kB / 0.5918 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.4039, allocations: 4 kB / 0.5918 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.4039, allocations: 4 kB / 0.5918 GB, free: 3.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.404, allocations: 83.27 kB / 0.5919 GB, free: 3.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.404, allocations: 0 / 0.5919 GB, free: 3.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003017/0.407, allocations: 370.8 kB / 0.5922 GB, free: 3.039 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.01448/0.4215, allocations: 4.735 MB / 0.5968 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.4218, allocations: 105.6 kB / 0.5969 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4218, allocations: 192 / 0.5969 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.4218, allocations: 55.92 kB / 0.597 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.4223, allocations: 39.94 kB / 0.597 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.4241, allocations: 401.5 kB / 0.5974 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.4241, allocations: 79.33 kB / 0.5975 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.4242, allocations: 12.12 kB / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.4243, allocations: 27.42 kB / 0.5975 GB, free: 13.5 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4243, allocations: 0 / 0.5975 GB, free: 13.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0518/0.4761, allocations: 20.67 MB / 0.6177 GB, free: 8.945 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.75, allocations: 3.984 kB / 0.6177 GB, free: 8.941 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: 16.272509204689413]