Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001776/0.001776, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002177/0.002177, allocations: 214 kB / 23.73 MB, free: 4.16 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2411/0.2411, allocations: 46.97 MB / 360.9 MB, free: 4 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_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002959/0.002959, allocations: 63.88 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3552, allocations: 66.04 MB / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01254/0.3677, allocations: 8.037 MB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.3836, allocations: 11.49 MB / 0.5797 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.3837, allocations: 0 / 0.5797 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.3839, allocations: 31.81 kB / 0.5797 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006262/0.3902, allocations: 2.135 MB / 0.5818 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.53e-06/0.3902, allocations: 0 / 0.5818 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3903, allocations: 51.61 kB / 0.5818 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.3903, allocations: 4 kB / 0.5818 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3905, allocations: 35.84 kB / 0.5819 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.3905, allocations: 11.94 kB / 0.5819 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.3905, allocations: 0 / 0.5819 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/0.4011, allocations: 5.875 MB / 0.5876 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.4011, allocations: 11.94 kB / 0.5876 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.4011, allocations: 15.88 kB / 0.5876 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.4142, allocations: 4.795 MB / 0.5923 GB, free: 3.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.4142, allocations: 4 kB / 0.5923 GB, free: 3.578 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4142, allocations: 0 / 0.5923 GB, free: 3.578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.4142, allocations: 3.938 kB / 0.5923 GB, free: 3.574 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.003549/0.4177, allocations: 0.558 MB / 0.5929 GB, free: 2.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.4178, allocations: 8.031 kB / 0.5929 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/0.4178, allocations: 42.56 kB / 0.5929 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.418, allocations: 15.98 kB / 0.5929 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4181, allocations: 109.2 kB / 0.593 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.4181, allocations: 0 / 0.593 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.4182, allocations: 4 kB / 0.593 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.4185, allocations: 117.6 kB / 0.5932 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4185, allocations: 0 / 0.5932 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4185, allocations: 0 / 0.5932 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4185, allocations: 3.938 kB / 0.5932 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.4189, allocations: 131.9 kB / 0.5933 GB, free: 2.52 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.4195, allocations: 319.7 kB / 0.5936 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.4198, allocations: 70.52 kB / 0.5937 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.4199, allocations: 36.77 kB / 0.5937 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003095/0.423, allocations: 0.8624 MB / 0.5945 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.423, allocations: 34.56 kB / 0.5946 GB, free: 1.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.423, allocations: 0 / 0.5946 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006425/0.4237, allocations: 149.6 kB / 0.5947 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.4237, allocations: 55.41 kB / 0.5948 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.4238, allocations: 101.9 kB / 0.5949 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4238, allocations: 29.64 kB / 0.5949 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.4239, allocations: 92.03 kB / 0.595 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.4239, allocations: 23.8 kB / 0.595 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.424, allocations: 29.69 kB / 0.595 GB, free: 0.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4241, allocations: 314.8 kB / 0.5953 GB, free: 316 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.4242, allocations: 39.91 kB / 0.5954 GB, free: 276 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4244, allocations: 37.7 kB / 0.5954 GB, free: 232 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4246, allocations: 65.69 kB / 0.5955 GB, free: 160 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4246, allocations: 0 / 0.5955 GB, free: 160 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002794/0.4248, allocations: 101.6 kB / 0.5956 GB, free: 52 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4248, allocations: 8 kB / 0.5956 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4249, allocations: 0 / 0.5956 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4249, allocations: 0 / 0.5956 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.425, allocations: 23.98 kB / 0.5956 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.425, allocations: 0 / 0.5956 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.425, allocations: 7.953 kB / 0.5956 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.425, allocations: 7.922 kB / 0.5956 GB, free: 4 kB / 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001078/0.4252, allocations: 121.7 kB / 0.5957 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.4252, allocations: 8.031 kB / 0.5957 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.4257, allocations: 245.5 kB / 0.596 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4257, allocations: 4 kB / 0.596 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.4257, allocations: 0 / 0.596 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4257, allocations: 3.984 kB / 0.596 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.4259, allocations: 204.5 kB / 0.5962 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4259, allocations: 3.938 kB / 0.5962 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.426, allocations: 23.98 kB / 0.5962 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.426, allocations: 3.938 kB / 0.5962 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.426, allocations: 0 / 0.5962 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.426, allocations: 4 kB / 0.5962 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.426, allocations: 0 / 0.5962 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.4264, allocations: 261.5 kB / 0.5964 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.4264, allocations: 11.89 kB / 0.5965 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.4265, allocations: 4 kB / 0.5965 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.4265, allocations: 15.92 kB / 0.5965 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.4266, allocations: 7.984 kB / 0.5965 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.4266, allocations: 0 / 0.5965 GB, free: 15.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.4266, allocations: 87.27 kB / 0.5966 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4266, allocations: 0 / 0.5966 GB, free: 14.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002022/0.4286, allocations: 374.9 kB / 0.5969 GB, free: 14.58 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.01225/0.4409, allocations: 4.244 MB / 0.6011 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.4414, allocations: 96.39 kB / 0.6012 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4414, allocations: 0 / 0.6012 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.4415, allocations: 67.97 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.4419, allocations: 26.31 kB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4434, allocations: 462.7 kB / 0.6017 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.187e-05/0.4435, allocations: 87.08 kB / 0.6018 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.4436, allocations: 45.56 kB / 0.6018 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.4437, allocations: 27.42 kB / 0.6018 GB, free: 9.445 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4437, allocations: 4 kB / 0.6019 GB, free: 9.441 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05084/0.4945, allocations: 18.71 MB / 0.6201 GB, free: 6.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.43, allocations: 11.91 kB / 0.6201 GB, free: 6.82 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable rho from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.922240949235857]