Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.91 MB / 360.8 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 83.86 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3705, allocations: 66.08 MB / 0.5607 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01293/0.3834, allocations: 8.478 MB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.3995, allocations: 13.11 MB / 0.5818 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.3996, allocations: 0 / 0.5818 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.3998, allocations: 43.78 kB / 0.5818 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.4069, allocations: 2.162 MB / 0.584 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.427e-06/0.4069, allocations: 0 / 0.584 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.407, allocations: 51.61 kB / 0.584 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.4071, allocations: 0 / 0.584 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.4072, allocations: 35.84 kB / 0.584 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.4073, allocations: 15.94 kB / 0.5841 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.4073, allocations: 0 / 0.5841 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.4182, allocations: 6.082 MB / 0.59 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.4182, allocations: 11.92 kB / 0.59 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.4182, allocations: 15.94 kB / 0.59 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.432, allocations: 4.799 MB / 0.5947 GB, free: 1.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.432, allocations: 4 kB / 0.5947 GB, free: 1.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.432, allocations: 0 / 0.5947 GB, free: 1.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.432, allocations: 0 / 0.5947 GB, free: 1.352 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.003441/0.4354, allocations: 0.558 MB / 0.5953 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4355, allocations: 8.031 kB / 0.5953 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.4355, allocations: 38.55 kB / 0.5953 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.4357, allocations: 15.98 kB / 0.5953 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.4358, allocations: 113.1 kB / 0.5954 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.4358, allocations: 4 kB / 0.5954 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.4358, allocations: 4 kB / 0.5954 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.4362, allocations: 117.5 kB / 0.5955 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4362, allocations: 4 kB / 0.5955 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4362, allocations: 0 / 0.5955 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4362, allocations: 0 / 0.5955 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.4365, allocations: 131.9 kB / 0.5957 GB, free: 300 kB / 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.000698/0.4372, allocations: 371.1 kB / 0.596 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.4375, allocations: 70.53 kB / 0.5961 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.4376, allocations: 36.83 kB / 0.5961 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003172/0.4408, allocations: 0.8585 MB / 0.597 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4408, allocations: 34.56 kB / 0.597 GB, free: 14.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.684e-06/0.4408, allocations: 0 / 0.597 GB, free: 14.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006848/0.4415, allocations: 149.5 kB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.4416, allocations: 51.41 kB / 0.5972 GB, free: 14.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.4417, allocations: 101.8 kB / 0.5973 GB, free: 14.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.4417, allocations: 29.64 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.4418, allocations: 99.98 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.4418, allocations: 23.8 kB / 0.5974 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.4419, allocations: 21.7 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.442, allocations: 318.8 kB / 0.5978 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.4421, allocations: 27.97 kB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4422, allocations: 41.7 kB / 0.5978 GB, free: 13.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.4424, allocations: 73.61 kB / 0.5979 GB, free: 13.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4424, allocations: 0 / 0.5979 GB, free: 13.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000285/0.4427, allocations: 101.7 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4427, allocations: 4 kB / 0.598 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4427, allocations: 0 / 0.598 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4427, allocations: 3.938 kB / 0.598 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4429, allocations: 23.98 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4429, allocations: 0 / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.4429, allocations: 7.953 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.4429, allocations: 7.984 kB / 0.598 GB, free: 13.72 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 (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.0001057/0.443, allocations: 117.8 kB / 0.5981 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.4431, allocations: 8 kB / 0.5982 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.4436, allocations: 256.1 kB / 0.5984 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4436, allocations: 8 kB / 0.5984 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4436, allocations: 0 / 0.5984 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4436, allocations: 4.188 kB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.4439, allocations: 208.5 kB / 0.5986 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4439, allocations: 0 / 0.5986 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.155e-05/0.444, allocations: 27.97 kB / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.444, allocations: 0 / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.444, allocations: 4 kB / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.444, allocations: 0 / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.444, allocations: 0 / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.4444, allocations: 263.2 kB / 0.5989 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.4444, allocations: 11.89 kB / 0.5989 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4444, allocations: 0 / 0.5989 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.4445, allocations: 11.98 kB / 0.5989 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.4445, allocations: 7.984 kB / 0.5989 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.4445, allocations: 4 kB / 0.5989 GB, free: 12.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.4446, allocations: 87.2 kB / 0.599 GB, free: 12.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4446, allocations: 0 / 0.599 GB, free: 12.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0023/0.4469, allocations: 378.9 kB / 0.5994 GB, free: 12.28 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.01286/0.4597, allocations: 4.25 MB / 0.6035 GB, free: 8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.4602, allocations: 90.19 kB / 0.6036 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4602, allocations: 4 kB / 0.6036 GB, free: 7.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.4603, allocations: 63.86 kB / 0.6037 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.4606, allocations: 20.05 kB / 0.6037 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.4627, allocations: 459.3 kB / 0.6041 GB, free: 7.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.4631, allocations: 0.6924 MB / 0.6048 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.4632, allocations: 51.61 kB / 0.6049 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.4633, allocations: 31.42 kB / 0.6049 GB, free: 6.535 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4633, allocations: 0 / 0.6049 GB, free: 6.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05234/0.5156, allocations: 18.28 MB / 0.6227 GB, free: 4.312 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.22, allocations: 3.938 kB / 0.6227 GB, free: 4.309 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.60057238900481]