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.001265/0.001265, allocations: 107.9 kB / 20.48 MB, free: 1.277 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.002049/0.002049, allocations: 217.5 kB / 23.78 MB, free: 4.438 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.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2298/0.2298, allocations: 46.95 MB / 360.9 MB, free: 3.93 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.002327/0.002327, allocations: 83.88 kB / 0.4962 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3568, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.0124/0.3692, allocations: 8.051 MB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.3834, allocations: 11.47 MB / 0.5798 GB, free: 456 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.3834, allocations: 4 kB / 0.5798 GB, free: 452 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.3836, allocations: 31.81 kB / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006237/0.3899, allocations: 2.15 MB / 0.5819 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.652e-06/0.3899, allocations: 0 / 0.5819 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.39, allocations: 51.66 kB / 0.582 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.39, allocations: 4 kB / 0.582 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3902, allocations: 31.86 kB / 0.582 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.3902, allocations: 23.84 kB / 0.582 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.3902, allocations: 0 / 0.582 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.4009, allocations: 5.875 MB / 0.5878 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.401, allocations: 7.922 kB / 0.5878 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.401, allocations: 15.94 kB / 0.5878 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.413, allocations: 4.787 MB / 0.5925 GB, free: 3.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.413, allocations: 0 / 0.5925 GB, free: 3.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.413, allocations: 4 kB / 0.5925 GB, free: 3.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.413, allocations: 3.938 kB / 0.5925 GB, free: 3.434 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.002897/0.4159, allocations: 0.558 MB / 0.593 GB, free: 2.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4159, allocations: 12.03 kB / 0.593 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.416, allocations: 34.56 kB / 0.5931 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.4161, allocations: 11.98 kB / 0.5931 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4162, allocations: 105.2 kB / 0.5932 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.4163, allocations: 11.94 kB / 0.5932 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.4163, allocations: 4 kB / 0.5932 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.4166, allocations: 117.6 kB / 0.5933 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4166, allocations: 0 / 0.5933 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4166, allocations: 4 kB / 0.5933 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4167, allocations: 0 / 0.5933 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.417, allocations: 135.8 kB / 0.5934 GB, free: 2.375 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.000646/0.4177, allocations: 307.7 kB / 0.5937 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.418, allocations: 82.44 kB / 0.5938 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.4181, allocations: 32.84 kB / 0.5938 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003239/0.4213, allocations: 0.8624 MB / 0.5947 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.4214, allocations: 34.56 kB / 0.5947 GB, free: 1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.4214, allocations: 0 / 0.5947 GB, free: 1 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006627/0.422, allocations: 145.5 kB / 0.5949 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.4221, allocations: 55.41 kB / 0.5949 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.342e-05/0.4222, allocations: 105.8 kB / 0.595 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4222, allocations: 25.7 kB / 0.595 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.4223, allocations: 96.03 kB / 0.5951 GB, free: 0.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.4223, allocations: 19.78 kB / 0.5951 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.4223, allocations: 25.72 kB / 0.5952 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4225, allocations: 322.8 kB / 0.5955 GB, free: 172 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.642e-05/0.4226, allocations: 23.98 kB / 0.5955 GB, free: 148 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4227, allocations: 37.7 kB / 0.5955 GB, free: 104 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.4229, allocations: 73.61 kB / 0.5956 GB, free: 24 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4229, allocations: 4 kB / 0.5956 GB, free: 20 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003124/0.4232, allocations: 97.66 kB / 0.5957 GB, free: 15.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4232, allocations: 6.031 kB / 0.5957 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4232, allocations: 0 / 0.5957 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4233, allocations: 4 kB / 0.5957 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4234, allocations: 27.95 kB / 0.5957 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.4234, allocations: 0 / 0.5957 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.4234, allocations: 11.94 kB / 0.5958 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.4235, allocations: 4 kB / 0.5958 GB, free: 15.87 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.0001025/0.4236, allocations: 117.8 kB / 0.5959 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.4236, allocations: 0 / 0.5959 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.4242, allocations: 260.4 kB / 0.5961 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4242, allocations: 0 / 0.5961 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.4242, allocations: 15.91 kB / 0.5961 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4242, allocations: 3.938 kB / 0.5961 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.4245, allocations: 200.5 kB / 0.5963 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4245, allocations: 0 / 0.5963 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-05/0.4246, allocations: 19.98 kB / 0.5963 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4246, allocations: 0 / 0.5963 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.4246, allocations: 12 kB / 0.5964 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4246, allocations: 0 / 0.5964 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4246, allocations: 0 / 0.5964 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.425, allocations: 251.3 kB / 0.5966 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.425, allocations: 19.88 kB / 0.5966 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.4251, allocations: 0 / 0.5966 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.4251, allocations: 7.938 kB / 0.5966 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.4252, allocations: 15.97 kB / 0.5966 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.4252, allocations: 4 kB / 0.5966 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.4252, allocations: 83.28 kB / 0.5967 GB, free: 14.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4252, allocations: 0 / 0.5967 GB, free: 14.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002501/0.4277, allocations: 374.9 kB / 0.5971 GB, free: 14.44 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.01832/0.446, allocations: 4.248 MB / 0.6012 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.4466, allocations: 103.8 kB / 0.6013 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4466, allocations: 0 / 0.6013 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.4468, allocations: 63.91 kB / 0.6014 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.4473, allocations: 18.56 kB / 0.6014 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.4501, allocations: 451.4 kB / 0.6018 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.4503, allocations: 83.02 kB / 0.6019 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.4504, allocations: 55.59 kB / 0.602 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.4505, allocations: 27.44 kB / 0.602 GB, free: 9.312 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4505, allocations: 0 / 0.602 GB, free: 9.312 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07669/0.5272, allocations: 18.77 MB / 0.6203 GB, free: 6.602 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.11, allocations: 10.12 kB / 0.6203 GB, free: 6.598 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.408750195998437]