Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 218.4 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 207.7 MB / 233.9 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2318/0.2318, allocations: 44.27 MB / 330.4 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 78.7 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1403, allocations: 61.05 MB / 0.5161 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4792/0.6195, allocations: 130 MB / 0.6431 GB, free: 500 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.6234, allocations: 2.735 MB / 0.6458 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.6235, allocations: 0 / 0.6458 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.6238, allocations: 59.59 kB / 0.6459 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.6268, allocations: 1.038 MB / 0.6469 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.6275, allocations: 204.3 kB / 0.6471 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.6281, allocations: 354.7 kB / 0.6474 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.998e-05/0.6282, allocations: 9.312 kB / 0.6474 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.6286, allocations: 155.4 kB / 0.6476 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.6289, allocations: 115.5 kB / 0.6477 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.629, allocations: 12 kB / 0.6477 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.6321, allocations: 1.274 MB / 0.6489 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.6322, allocations: 79.77 kB / 0.649 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.6324, allocations: 99.64 kB / 0.6491 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.6349, allocations: 0.9411 MB / 0.65 GB, free: 9.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.6349, allocations: 4 kB / 0.65 GB, free: 9.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6349, allocations: 0 / 0.65 GB, free: 9.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.6349, allocations: 1.125 kB / 0.65 GB, free: 9.438 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001165/0.6361, allocations: 477.3 kB / 0.6505 GB, free: 8.941 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6362, allocations: 12.03 kB / 0.6505 GB, free: 8.93 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.6362, allocations: 50.73 kB / 0.6505 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.6376, allocations: 204.5 kB / 0.6507 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.638, allocations: 194.2 kB / 0.6509 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.6381, allocations: 16.75 kB / 0.6509 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.6381, allocations: 23.94 kB / 0.651 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.6389, allocations: 0.5733 MB / 0.6515 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.639, allocations: 0 / 0.6515 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.639, allocations: 8 kB / 0.6515 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.639, allocations: 8 kB / 0.6515 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.6397, allocations: 415.6 kB / 0.6519 GB, free: 7.363 MB / 494.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.001759/0.6414, allocations: 0.7493 MB / 0.6527 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.6418, allocations: 213.1 kB / 0.6529 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.642, allocations: 122.8 kB / 0.653 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/0.6436, allocations: 310 kB / 0.6533 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.6436, allocations: 38.56 kB / 0.6533 GB, free: 5.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/0.6436, allocations: 0 / 0.6533 GB, free: 5.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001243/0.6449, allocations: 357.7 kB / 0.6536 GB, free: 5.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.6449, allocations: 81.11 kB / 0.6537 GB, free: 5.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.645, allocations: 123.3 kB / 0.6538 GB, free: 5.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.6451, allocations: 33.7 kB / 0.6539 GB, free: 5.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.6452, allocations: 108.6 kB / 0.654 GB, free: 5.133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6453, allocations: 111 kB / 0.6541 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.6454, allocations: 62.02 kB / 0.6541 GB, free: 4.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6455, allocations: 326.8 kB / 0.6545 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.6457, allocations: 92.61 kB / 0.6545 GB, free: 4.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.646, allocations: 191.4 kB / 0.6547 GB, free: 4.316 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.6465, allocations: 296.2 kB / 0.655 GB, free: 3.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6465, allocations: 4 kB / 0.655 GB, free: 3.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006504/0.6471, allocations: 350.3 kB / 0.6553 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.6472, allocations: 7.984 kB / 0.6554 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6472, allocations: 4 kB / 0.6554 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6472, allocations: 4 kB / 0.6554 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.6475, allocations: 77.34 kB / 0.6554 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6476, allocations: 4.312 kB / 0.6554 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.6478, allocations: 31.83 kB / 0.6555 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.6478, allocations: 16 kB / 0.6555 GB, free: 3.5 MB / 494.1 MB 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 (39): * Single equations (assignments): 39 * 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.0001607/0.648, allocations: 145.6 kB / 0.6556 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.6481, allocations: 19.91 kB / 0.6556 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.6488, allocations: 325.2 kB / 0.656 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.6488, allocations: 4 kB / 0.656 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6488, allocations: 0 / 0.656 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6488, allocations: 4 kB / 0.656 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.6494, allocations: 274.2 kB / 0.6562 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6494, allocations: 7.922 kB / 0.6562 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.6497, allocations: 57.78 kB / 0.6563 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6497, allocations: 4 kB / 0.6563 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.6498, allocations: 8 kB / 0.6563 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.6498, allocations: 4 kB / 0.6563 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6498, allocations: 0 / 0.6563 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.6506, allocations: 0.5155 MB / 0.6568 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.6506, allocations: 19.84 kB / 0.6568 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.6506, allocations: 4.062 kB / 0.6568 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.651, allocations: 15.98 kB / 0.6568 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.651, allocations: 19.95 kB / 0.6569 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.651, allocations: 23.98 kB / 0.6569 GB, free: 2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.712e-05/0.6511, allocations: 83.28 kB / 0.657 GB, free: 1.918 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6511, allocations: 0 / 0.657 GB, free: 1.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008234/0.6519, allocations: 231.4 kB / 0.6572 GB, free: 1.691 MB / 494.1 MB 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 (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 0.00209/0.654, allocations: 1.376 MB / 0.6585 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.6545, allocations: 243.8 kB / 0.6588 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6545, allocations: 0 / 0.6588 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.6548, allocations: 119.8 kB / 0.6589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.6554, allocations: 91.88 kB / 0.659 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.659, allocations: 2.677 MB / 0.6616 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.6592, allocations: 115.8 kB / 0.6617 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003197/0.6595, allocations: 73.97 kB / 0.6618 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.6596, allocations: 63.41 kB / 0.6618 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.6596, allocations: 0 / 0.6618 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.7026, allocations: 11.45 MB / 0.673 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.43, allocations: 19.84 kB / 0.673 GB, free: 1.285 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.611828915309161]