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.001321/0.001321, allocations: 122 kB / 17.83 MB, free: 5.242 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.001427/0.001427, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.584/1.584, allocations: 207.6 MB / 231.2 MB, free: 4.109 MB / 174.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.3487/0.3487, allocations: 44.22 MB / 327.3 MB, free: 7.129 MB / 254.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",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.002191/0.002191, allocations: 71.91 kB / 462.9 MB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3114, allocations: 61 MB / 0.5116 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5423/0.8536, allocations: 151.6 MB / 0.6597 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003161/0.8568, allocations: 3.039 MB / 0.6627 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.8569, allocations: 1.125 kB / 0.6627 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.8573, allocations: 62.41 kB / 0.6627 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.8598, allocations: 1.028 MB / 0.6637 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.8603, allocations: 193.4 kB / 0.6639 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.8607, allocations: 354.7 kB / 0.6643 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.8608, allocations: 5.219 kB / 0.6643 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.861, allocations: 152.5 kB / 0.6644 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.8612, allocations: 116.6 kB / 0.6645 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.8613, allocations: 16.06 kB / 0.6645 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.8642, allocations: 1.521 MB / 0.666 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.6e-05/0.8643, allocations: 76.72 kB / 0.6661 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.8644, allocations: 109.2 kB / 0.6662 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.8658, allocations: 0.9738 MB / 0.6671 GB, free: 448 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8658, allocations: 3.812 kB / 0.6672 GB, free: 448 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8658, allocations: 7.625 kB / 0.6672 GB, free: 444 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.8658, allocations: 0 / 0.6672 GB, free: 444 kB / 0.4981 GB 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.001051/0.8669, allocations: 0.5438 MB / 0.6677 GB, free: 16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.8669, allocations: 13.61 kB / 0.6677 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.975e-05/0.8669, allocations: 7.484 kB / 0.6677 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.438e-05/0.867, allocations: 56.16 kB / 0.6678 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.8685, allocations: 199.9 kB / 0.668 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.8689, allocations: 253.7 kB / 0.6682 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8689, allocations: 16.41 kB / 0.6682 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.869, allocations: 24.17 kB / 0.6682 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006765/0.8696, allocations: 381.7 kB / 0.6686 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8697, allocations: 0.6562 kB / 0.6686 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.8697, allocations: 14.47 kB / 0.6686 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.8697, allocations: 8.312 kB / 0.6686 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.8703, allocations: 409.7 kB / 0.669 GB, free: 15.66 MB / 0.5137 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.001609/0.8719, allocations: 0.808 MB / 0.6698 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.8723, allocations: 221.2 kB / 0.67 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.8725, allocations: 116.2 kB / 0.6701 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/0.8744, allocations: 0.896 MB / 0.671 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.8745, allocations: 40.62 kB / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=29): time 1.824e-06/0.8745, allocations: 5.281 kB / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29): time 0.001271/0.8757, allocations: 354.8 kB / 0.6714 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.8758, allocations: 80.52 kB / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.8759, allocations: 113.9 kB / 0.6716 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.876, allocations: 32.77 kB / 0.6716 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.876, allocations: 120.5 kB / 0.6717 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/0.8761, allocations: 110 kB / 0.6718 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/0.8762, allocations: 61.17 kB / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8764, allocations: 325.6 kB / 0.6722 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.8765, allocations: 96.67 kB / 0.6723 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.8768, allocations: 191.4 kB / 0.6725 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.8772, allocations: 310.8 kB / 0.6728 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8772, allocations: 3.938 kB / 0.6728 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005359/0.8778, allocations: 339.6 kB / 0.6731 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8778, allocations: 5.562 kB / 0.6731 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8778, allocations: 3.469 kB / 0.6731 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.8778, allocations: 9.109 kB / 0.6731 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.8781, allocations: 71.61 kB / 0.6732 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8781, allocations: 4.75 kB / 0.6732 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.8784, allocations: 35.59 kB / 0.6732 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.8784, allocations: 18.09 kB / 0.6732 GB, free: 13.36 MB / 0.5137 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 (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.0001442/0.8785, allocations: 141.9 kB / 0.6734 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.8786, allocations: 11.42 kB / 0.6734 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.8792, allocations: 330.8 kB / 0.6737 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.8793, allocations: 9.281 kB / 0.6737 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8793, allocations: 0 / 0.6737 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8793, allocations: 0 / 0.6737 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.8798, allocations: 336.5 kB / 0.674 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8798, allocations: 3.656 kB / 0.674 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.8801, allocations: 60.45 kB / 0.6741 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8801, allocations: 2.906 kB / 0.6741 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.8802, allocations: 8.531 kB / 0.6741 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.8802, allocations: 2.562 kB / 0.6741 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.8802, allocations: 0 / 0.6741 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.8809, allocations: 0.5082 MB / 0.6746 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.8809, allocations: 97.98 kB / 0.6747 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.881, allocations: 11.77 kB / 0.6747 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.8813, allocations: 9.375 kB / 0.6747 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.8813, allocations: 21.62 kB / 0.6747 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.8814, allocations: 13.23 kB / 0.6747 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.844e-05/0.8814, allocations: 94.23 kB / 0.6748 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.8814, allocations: 0 / 0.6748 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008835/0.8823, allocations: 228.5 kB / 0.675 GB, free: 12.51 MB / 0.5137 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 (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.001904/0.8842, allocations: 1.374 MB / 0.6764 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.8847, allocations: 238 kB / 0.6766 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8847, allocations: 0 / 0.6766 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.8848, allocations: 128.3 kB / 0.6767 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.8855, allocations: 86.12 kB / 0.6768 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.8888, allocations: 2.686 MB / 0.6794 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.8892, allocations: 0.7356 MB / 0.6802 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.8895, allocations: 74.44 kB / 0.6802 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.8896, allocations: 64.02 kB / 0.6803 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.8896, allocations: 0 / 0.6803 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.9206, allocations: 10.58 MB / 0.6906 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.632/9.553, allocations: 10.86 kB / 0.6906 GB, free: 7.477 MB / 0.5137 GB " [Timeout remaining time 650] (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: 12.74666189198615]