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.001834/0.001834, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001861/0.001861, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2494/0.2494, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.002278/0.002278, allocations: 79.86 kB / 0.4912 GB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1558, allocations: 65.99 MB / 0.5557 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5015/0.6573, allocations: 153.2 MB / 0.7053 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.6613, allocations: 3.263 MB / 0.7085 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.6614, allocations: 0 / 0.7085 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.6618, allocations: 63.66 kB / 0.7086 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.6644, allocations: 1.07 MB / 0.7096 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.6649, allocations: 199.1 kB / 0.7098 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.6654, allocations: 366.6 kB / 0.7101 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.6654, allocations: 9.641 kB / 0.7102 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.6657, allocations: 155.5 kB / 0.7103 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.6659, allocations: 127.5 kB / 0.7104 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.6659, allocations: 12 kB / 0.7104 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.6689, allocations: 1.597 MB / 0.712 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.669, allocations: 83.77 kB / 0.7121 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.6691, allocations: 111.6 kB / 0.7122 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.6706, allocations: 1.013 MB / 0.7132 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6706, allocations: 4 kB / 0.7132 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6706, allocations: 0 / 0.7132 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6706, allocations: 0 / 0.7132 GB, free: 0.8906 MB / 0.5137 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.001011/0.6716, allocations: 0.5607 MB / 0.7137 GB, free: 288 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6716, allocations: 11.97 kB / 0.7137 GB, free: 276 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.992e-05/0.6717, allocations: 66.66 kB / 0.7138 GB, free: 200 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.6732, allocations: 200.7 kB / 0.714 GB, free: 16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.6736, allocations: 256 kB / 0.7142 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.6737, allocations: 16.31 kB / 0.7142 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.6737, allocations: 23.98 kB / 0.7143 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.6744, allocations: 388.9 kB / 0.7146 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.6744, allocations: 0 / 0.7146 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.6744, allocations: 8 kB / 0.7146 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.6745, allocations: 12 kB / 0.7147 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.6751, allocations: 416.4 kB / 0.7151 GB, free: 14.86 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.00177/0.6768, allocations: 0.8215 MB / 0.7159 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.6772, allocations: 226.2 kB / 0.7161 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.6774, allocations: 121.7 kB / 0.7162 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001906/0.6793, allocations: 0.9802 MB / 0.7171 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.6794, allocations: 38.56 kB / 0.7172 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.6794, allocations: 0 / 0.7172 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001315/0.6807, allocations: 372.5 kB / 0.7175 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.6807, allocations: 85.09 kB / 0.7176 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.6809, allocations: 125.7 kB / 0.7177 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.6809, allocations: 33.7 kB / 0.7178 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.681, allocations: 112.5 kB / 0.7179 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.6811, allocations: 115 kB / 0.718 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.6812, allocations: 70.02 kB / 0.7181 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6814, allocations: 322.8 kB / 0.7184 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.6816, allocations: 112 kB / 0.7185 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.6818, allocations: 182.9 kB / 0.7186 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.6824, allocations: 330.8 kB / 0.719 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6824, allocations: 0 / 0.719 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006564/0.683, allocations: 351.3 kB / 0.7193 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.683, allocations: 8 kB / 0.7193 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.683, allocations: 320 / 0.7193 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.6831, allocations: 12 kB / 0.7193 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.6834, allocations: 71.89 kB / 0.7194 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.6834, allocations: 4 kB / 0.7194 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.6836, allocations: 27.84 kB / 0.7194 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.6837, allocations: 18.73 kB / 0.7194 GB, free: 9.992 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.0001582/0.6838, allocations: 149.6 kB / 0.7196 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.6839, allocations: 15.91 kB / 0.7196 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.6847, allocations: 339 kB / 0.7199 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.6847, allocations: 4.812 kB / 0.7199 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6847, allocations: 4 kB / 0.7199 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6847, allocations: 0 / 0.7199 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.6854, allocations: 347 kB / 0.7203 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6854, allocations: 0 / 0.7203 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.6857, allocations: 55.53 kB / 0.7203 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.6857, allocations: 4 kB / 0.7203 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.6857, allocations: 15.92 kB / 0.7203 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6857, allocations: 0 / 0.7203 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6857, allocations: 0 / 0.7203 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.6866, allocations: 0.5297 MB / 0.7208 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.6867, allocations: 96.98 kB / 0.7209 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.6867, allocations: 12 kB / 0.7209 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.687, allocations: 15.97 kB / 0.721 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.6871, allocations: 15.98 kB / 0.721 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.6871, allocations: 15.98 kB / 0.721 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.6872, allocations: 91.27 kB / 0.7211 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6872, allocations: 4 kB / 0.7211 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001089/0.6883, allocations: 243.2 kB / 0.7213 GB, free: 7.961 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.002375/0.6906, allocations: 1.401 MB / 0.7227 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006293/0.6913, allocations: 250.6 kB / 0.7229 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.6913, allocations: 8 kB / 0.7229 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.6915, allocations: 135.9 kB / 0.7231 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.6922, allocations: 87.14 kB / 0.7231 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.6962, allocations: 2.721 MB / 0.7258 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.6966, allocations: 0.7363 MB / 0.7265 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003151/0.6969, allocations: 81.95 kB / 0.7266 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.6971, allocations: 67.34 kB / 0.7267 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.6971, allocations: 0 / 0.7267 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/0.7463, allocations: 10.95 MB / 0.7373 GB, free: 7.449 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/9.182, allocations: 0 / 0.7373 GB, free: 7.449 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.360401273705065]