Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001768/0.001768, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002267/0.002267, allocations: 206.2 kB / 23.72 MB, free: 4.391 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.471/1.471, 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.2219/0.2219, allocations: 46.94 MB / 360.8 MB, free: 3.934 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.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 87.81 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3194, allocations: 66.08 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1733/0.4927, allocations: 131.8 MB / 0.6894 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004155/0.4969, allocations: 2.921 MB / 0.6923 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.497, allocations: 3.938 kB / 0.6923 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.4974, allocations: 55.67 kB / 0.6923 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.5008, allocations: 1.089 MB / 0.6934 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.5015, allocations: 202.9 kB / 0.6936 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.5021, allocations: 366.6 kB / 0.6939 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.5021, allocations: 13.3 kB / 0.6939 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.5025, allocations: 175.3 kB / 0.6941 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.5027, allocations: 115.6 kB / 0.6942 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.5027, allocations: 12 kB / 0.6942 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.5059, allocations: 1.332 MB / 0.6955 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.506, allocations: 79.77 kB / 0.6956 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.5062, allocations: 99.64 kB / 0.6957 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.5082, allocations: 0.9838 MB / 0.6966 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5082, allocations: 0 / 0.6966 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5082, allocations: 0 / 0.6966 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5082, allocations: 3.938 kB / 0.6967 GB, free: 8.27 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009977/0.5092, allocations: 497.1 kB / 0.6971 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5092, allocations: 12.03 kB / 0.6971 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.809e-05/0.5093, allocations: 54.73 kB / 0.6972 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.5107, allocations: 208.6 kB / 0.6974 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.5111, allocations: 193.8 kB / 0.6976 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.5111, allocations: 12.38 kB / 0.6976 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.5112, allocations: 20 kB / 0.6976 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.5119, allocations: 0.5875 MB / 0.6982 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5119, allocations: 0 / 0.6982 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.512, allocations: 12 kB / 0.6982 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.512, allocations: 8 kB / 0.6982 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.5126, allocations: 424.4 kB / 0.6986 GB, free: 6.152 MB / 0.5294 GB 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.0018/0.5144, allocations: 0.7504 MB / 0.6993 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.5148, allocations: 221.1 kB / 0.6995 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.515, allocations: 120 kB / 0.6997 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.5165, allocations: 317.7 kB / 0.7 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.5165, allocations: 42.5 kB / 0.7 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/0.5166, allocations: 0 / 0.7 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001231/0.5178, allocations: 373.9 kB / 0.7004 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.5178, allocations: 85.05 kB / 0.7004 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.518, allocations: 113.8 kB / 0.7005 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.518, allocations: 33.7 kB / 0.7006 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.5181, allocations: 112.6 kB / 0.7007 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.5182, allocations: 119 kB / 0.7008 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.5183, allocations: 62.02 kB / 0.7009 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5184, allocations: 330.8 kB / 0.7012 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.5186, allocations: 112 kB / 0.7013 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.5189, allocations: 186.9 kB / 0.7015 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.5194, allocations: 315 kB / 0.7018 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5194, allocations: 0 / 0.7018 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006343/0.52, allocations: 361.3 kB / 0.7021 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.52, allocations: 7.938 kB / 0.7021 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.52, allocations: 4 kB / 0.7021 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.5201, allocations: 4 kB / 0.7021 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.5204, allocations: 71.89 kB / 0.7022 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5204, allocations: 7.938 kB / 0.7022 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.5206, allocations: 31.78 kB / 0.7022 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.5207, allocations: 15.98 kB / 0.7022 GB, free: 2.207 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 1 * 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.0001671/0.5208, allocations: 149.7 kB / 0.7024 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.5209, allocations: 27.89 kB / 0.7024 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.5216, allocations: 328.5 kB / 0.7027 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.5216, allocations: 4 kB / 0.7027 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5216, allocations: 4 kB / 0.7027 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5216, allocations: 0 / 0.7027 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.5222, allocations: 294.1 kB / 0.703 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5222, allocations: 0 / 0.703 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.5225, allocations: 55.91 kB / 0.7031 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.5225, allocations: 0 / 0.7031 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.5226, allocations: 11.98 kB / 0.7031 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.5226, allocations: 4 kB / 0.7031 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5226, allocations: 0 / 0.7031 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000786/0.5234, allocations: 0.5343 MB / 0.7036 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.5234, allocations: 15.88 kB / 0.7036 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.5234, allocations: 8.062 kB / 0.7036 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.5237, allocations: 11.98 kB / 0.7036 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.5238, allocations: 15.97 kB / 0.7037 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.5238, allocations: 23.92 kB / 0.7037 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.5239, allocations: 95.25 kB / 0.7038 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5239, allocations: 0 / 0.7038 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008725/0.5248, allocations: 235.4 kB / 0.704 GB, free: 348 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 29 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.002238/0.527, allocations: 1.417 MB / 0.7054 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.5276, allocations: 263.8 kB / 0.7056 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5276, allocations: 0 / 0.7056 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.5278, allocations: 134 kB / 0.7058 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.5285, allocations: 92.62 kB / 0.7058 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.5322, allocations: 2.726 MB / 0.7085 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.5323, allocations: 135.7 kB / 0.7086 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003862/0.5327, allocations: 77.91 kB / 0.7087 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.5329, allocations: 59.42 kB / 0.7088 GB, free: 11.25 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.5329, allocations: 4 kB / 0.7088 GB, free: 11.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.5775, allocations: 11.84 MB / 0.7203 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.33, allocations: 8.062 kB / 0.7203 GB, free: 15.57 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.443197119049728]