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.001309/0.001309, allocations: 123.4 kB / 17.79 MB, free: 5.258 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.001492/0.001492, allocations: 207.5 kB / 20.74 MB, free: 2.309 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.532/1.532, allocations: 230.5 MB / 254 MB, free: 15.02 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.2477/0.2477, allocations: 46.92 MB / 357 MB, free: 10.2 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.0023/0.0023, allocations: 79.88 kB / 0.491 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1865, allocations: 66.05 MB / 0.5555 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5279/0.7144, allocations: 153.2 MB / 0.7051 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.7186, allocations: 3.251 MB / 0.7083 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.491e-05/0.7187, allocations: 5.062 kB / 0.7083 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.7191, allocations: 67.58 kB / 0.7083 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.7217, allocations: 1.066 MB / 0.7094 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.7223, allocations: 197 kB / 0.7096 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000486/0.7228, allocations: 366.6 kB / 0.7099 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.7228, allocations: 5.656 kB / 0.7099 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.7231, allocations: 167.2 kB / 0.7101 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.7233, allocations: 127.5 kB / 0.7102 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.7233, allocations: 12 kB / 0.7102 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.7263, allocations: 1.594 MB / 0.7118 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.7264, allocations: 83.83 kB / 0.7119 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.7266, allocations: 107.5 kB / 0.712 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.7284, allocations: 1.02 MB / 0.713 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.7284, allocations: 4 kB / 0.713 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7284, allocations: 0 / 0.713 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.7284, allocations: 0 / 0.713 GB, free: 15.98 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.001008/0.7294, allocations: 0.5568 MB / 0.7135 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7295, allocations: 12.03 kB / 0.7135 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.383e-05/0.7295, allocations: 58.72 kB / 0.7136 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.731, allocations: 204.6 kB / 0.7138 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.7314, allocations: 252.1 kB / 0.714 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.7314, allocations: 16.31 kB / 0.714 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.7314, allocations: 23.98 kB / 0.714 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.7321, allocations: 392.8 kB / 0.7144 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7321, allocations: 0 / 0.7144 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.7322, allocations: 8 kB / 0.7144 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.7322, allocations: 12 kB / 0.7144 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/0.7328, allocations: 416.5 kB / 0.7148 GB, free: 13.95 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.001818/0.7346, allocations: 0.8292 MB / 0.7156 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.7351, allocations: 223.2 kB / 0.7159 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.7353, allocations: 127.3 kB / 0.716 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/0.7373, allocations: 0.9763 MB / 0.7169 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.7373, allocations: 42.5 kB / 0.717 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.7373, allocations: 0 / 0.717 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001318/0.7387, allocations: 378.1 kB / 0.7173 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.7387, allocations: 81.11 kB / 0.7174 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7388, allocations: 121.7 kB / 0.7175 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.7389, allocations: 29.7 kB / 0.7176 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.739, allocations: 112.6 kB / 0.7177 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.7391, allocations: 119 kB / 0.7178 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.7392, allocations: 70 kB / 0.7178 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.7393, allocations: 326.8 kB / 0.7182 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.7396, allocations: 104 kB / 0.7182 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.7398, allocations: 186.8 kB / 0.7184 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.7404, allocations: 325 kB / 0.7187 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7404, allocations: 0 / 0.7187 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006656/0.7411, allocations: 361.8 kB / 0.7191 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7411, allocations: 4 kB / 0.7191 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7411, allocations: 4 kB / 0.7191 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.274e-05/0.7411, allocations: 4 kB / 0.7191 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.7415, allocations: 71.89 kB / 0.7192 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.7415, allocations: 9.422 kB / 0.7192 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.7417, allocations: 32.53 kB / 0.7192 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.7418, allocations: 16 kB / 0.7192 GB, free: 9.074 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.0001623/0.7419, allocations: 145.7 kB / 0.7194 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.742, allocations: 23.84 kB / 0.7194 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007049/0.7427, allocations: 332.7 kB / 0.7197 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.7428, allocations: 4 kB / 0.7197 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7428, allocations: 4 kB / 0.7197 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.7428, allocations: 0 / 0.7197 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.7434, allocations: 341.7 kB / 0.72 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7434, allocations: 4 kB / 0.72 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.7437, allocations: 59.91 kB / 0.7201 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7437, allocations: 0 / 0.7201 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.7438, allocations: 11.98 kB / 0.7201 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.7438, allocations: 4 kB / 0.7201 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7438, allocations: 0 / 0.7201 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.7446, allocations: 0.5257 MB / 0.7206 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.7447, allocations: 96.98 kB / 0.7207 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.7447, allocations: 8.062 kB / 0.7207 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.745, allocations: 15.98 kB / 0.7207 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.7451, allocations: 15.98 kB / 0.7208 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.7451, allocations: 19.98 kB / 0.7208 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.7452, allocations: 87.27 kB / 0.7209 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.7452, allocations: 0 / 0.7209 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000952/0.7461, allocations: 243.3 kB / 0.7211 GB, free: 7.059 MB / 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.002183/0.7483, allocations: 1.411 MB / 0.7225 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.7489, allocations: 256.2 kB / 0.7227 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7489, allocations: 0 / 0.7227 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.7491, allocations: 130.2 kB / 0.7228 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.7498, allocations: 92.38 kB / 0.7229 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.7537, allocations: 2.729 MB / 0.7256 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.7541, allocations: 0.7285 MB / 0.7263 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.7544, allocations: 81.91 kB / 0.7264 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7545, allocations: 63.41 kB / 0.7264 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.7545, allocations: 0 / 0.7264 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04101/0.7955, allocations: 10.95 MB / 0.7371 GB, free: 6.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.941, allocations: 9.844 kB / 0.7371 GB, free: 6.539 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.210301997023635]