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.001293/0.001293, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001419/0.001419, allocations: 220.6 kB / 23.01 MB, free: 5.004 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.46/1.46, allocations: 207.6 MB / 233.8 MB, free: 10 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.2549/0.2549, allocations: 44.25 MB / 330.3 MB, free: 9.516 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.002449/0.002449, allocations: 67.91 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1366, allocations: 61.05 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4612/0.5978, allocations: 151.7 MB / 0.6643 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004833/0.6026, allocations: 3.057 MB / 0.6672 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.6027, allocations: 0 / 0.6672 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.6032, allocations: 63.58 kB / 0.6673 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.6065, allocations: 1.058 MB / 0.6683 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.607, allocations: 200.2 kB / 0.6685 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.6076, allocations: 362.7 kB / 0.6689 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.6077, allocations: 5.312 kB / 0.6689 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.6081, allocations: 159.4 kB / 0.669 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.6083, allocations: 111.6 kB / 0.6691 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.6084, allocations: 12 kB / 0.6691 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.6117, allocations: 1.574 MB / 0.6707 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.6118, allocations: 75.83 kB / 0.6708 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.612, allocations: 107.5 kB / 0.6709 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.6145, allocations: 0.9879 MB / 0.6718 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6145, allocations: 0 / 0.6718 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6145, allocations: 3.938 kB / 0.6718 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6145, allocations: 1.219 kB / 0.6718 GB, free: 4.492 MB / 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.00139/0.6159, allocations: 485.3 kB / 0.6723 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.616, allocations: 8.031 kB / 0.6723 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.647e-05/0.6161, allocations: 54.73 kB / 0.6724 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.6176, allocations: 192.6 kB / 0.6725 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.618, allocations: 198.2 kB / 0.6727 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.618, allocations: 20.67 kB / 0.6727 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.6181, allocations: 23.94 kB / 0.6728 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.6187, allocations: 381.5 kB / 0.6731 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6187, allocations: 0 / 0.6731 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.6188, allocations: 12 kB / 0.6731 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.6188, allocations: 4 kB / 0.6731 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.6194, allocations: 415.6 kB / 0.6735 GB, free: 2.664 MB / 0.4981 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.001924/0.6213, allocations: 0.7804 MB / 0.6743 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.6218, allocations: 221 kB / 0.6745 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.622, allocations: 113.9 kB / 0.6746 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/0.6235, allocations: 314 kB / 0.6749 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.6236, allocations: 38.56 kB / 0.675 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.6236, allocations: 0 / 0.675 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.001241/0.6248, allocations: 357.4 kB / 0.6753 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.6249, allocations: 81.11 kB / 0.6754 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.625, allocations: 115.3 kB / 0.6755 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.6251, allocations: 33.7 kB / 0.6755 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.6251, allocations: 112.5 kB / 0.6756 GB, free: 412 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6253, allocations: 119 kB / 0.6757 GB, free: 292 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.6254, allocations: 61.97 kB / 0.6758 GB, free: 224 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6255, allocations: 326.8 kB / 0.6761 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.6258, allocations: 100.6 kB / 0.6762 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.626, allocations: 183.5 kB / 0.6764 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.6265, allocations: 299.5 kB / 0.6767 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.6265, allocations: 4 kB / 0.6767 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006754/0.6272, allocations: 341.9 kB / 0.677 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6272, allocations: 8.062 kB / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6272, allocations: 4 kB / 0.677 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.6272, allocations: 4 kB / 0.677 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.6276, allocations: 71.89 kB / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.6276, allocations: 4 kB / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.6278, allocations: 32.84 kB / 0.6771 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.6279, allocations: 19.98 kB / 0.6771 GB, free: 14.77 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.0001708/0.6281, allocations: 141.7 kB / 0.6773 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.6282, allocations: 19.95 kB / 0.6773 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.6289, allocations: 332.7 kB / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.6289, allocations: 4 kB / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6289, allocations: 0 / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6289, allocations: 7.969 kB / 0.6776 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.6295, allocations: 302.2 kB / 0.6779 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6295, allocations: 0 / 0.6779 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.6298, allocations: 70.52 kB / 0.678 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.6298, allocations: 0 / 0.678 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.6298, allocations: 8 kB / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6298, allocations: 4 kB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6298, allocations: 4 kB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.6307, allocations: 0.5116 MB / 0.6785 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.6307, allocations: 15.84 kB / 0.6785 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.6308, allocations: 8.062 kB / 0.6785 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.6311, allocations: 11.98 kB / 0.6785 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.6311, allocations: 27.95 kB / 0.6786 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.6312, allocations: 16 kB / 0.6786 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.6313, allocations: 91.2 kB / 0.6787 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.6313, allocations: 0 / 0.6787 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008952/0.6321, allocations: 219.5 kB / 0.6789 GB, free: 12.93 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.002148/0.6343, allocations: 1.375 MB / 0.6802 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005904/0.6349, allocations: 240.3 kB / 0.6804 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6349, allocations: 8.062 kB / 0.6804 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.6351, allocations: 119.9 kB / 0.6806 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.6358, allocations: 84.58 kB / 0.6806 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.6396, allocations: 2.682 MB / 0.6833 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.64, allocations: 0.7363 MB / 0.684 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003027/0.6403, allocations: 69.97 kB / 0.684 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.6404, allocations: 63.41 kB / 0.6841 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.6404, allocations: 0 / 0.6841 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04648/0.6869, allocations: 10.86 MB / 0.6947 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.72, allocations: 7.938 kB / 0.6947 GB, free: 12.5 MB / 0.5294 GB " [Timeout remaining time 648] (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: 14.818315405864269]