Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001348/0.001348, 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.001856/0.001856, allocations: 217 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.398/1.398, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2343/0.2343, allocations: 44.27 MB / 330.3 MB, free: 9.305 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002241/0.002241, allocations: 71.89 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1174, allocations: 61.05 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3822/0.4996, allocations: 129.8 MB / 0.6428 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.5014, allocations: 1.345 MB / 0.6442 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.5015, allocations: 4 kB / 0.6442 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.5018, allocations: 44.11 kB / 0.6442 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009365/0.5027, allocations: 398 kB / 0.6446 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.5032, allocations: 175.9 kB / 0.6448 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.5035, allocations: 183.2 kB / 0.6449 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.5035, allocations: 11.98 kB / 0.6449 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.5037, allocations: 79.69 kB / 0.645 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.5038, allocations: 55.81 kB / 0.6451 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.5038, allocations: 15.92 kB / 0.6451 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000966/0.5048, allocations: 0.5183 MB / 0.6456 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.5048, allocations: 27.91 kB / 0.6456 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.5049, allocations: 47.84 kB / 0.6457 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.5055, allocations: 377.1 kB / 0.646 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5055, allocations: 0 / 0.646 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5055, allocations: 0 / 0.646 GB, free: 13.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.5055, allocations: 4 kB / 0.646 GB, free: 13.5 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005343/0.5061, allocations: 357.9 kB / 0.6464 GB, free: 13.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5061, allocations: 8.031 kB / 0.6464 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.5061, allocations: 38.75 kB / 0.6464 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5083, allocations: 201.1 kB / 0.6466 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.5086, allocations: 146.6 kB / 0.6467 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5086, allocations: 11.94 kB / 0.6468 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.5087, allocations: 19.94 kB / 0.6468 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.5092, allocations: 274.6 kB / 0.647 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5092, allocations: 4 kB / 0.647 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.5092, allocations: 4 kB / 0.647 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5092, allocations: 0 / 0.647 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.5099, allocations: 243.7 kB / 0.6473 GB, free: 12.13 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.001778/0.5116, allocations: 0.5605 MB / 0.6478 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.5121, allocations: 190.4 kB / 0.648 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.5123, allocations: 88.81 kB / 0.6481 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.5125, allocations: 11.98 kB / 0.6481 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5125, allocations: 42.5 kB / 0.6481 GB, free: 11.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.5125, allocations: 0 / 0.6481 GB, free: 11.18 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005763/0.5183, allocations: 1.388 MB / 0.6495 GB, free: 9.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5183, allocations: 59.41 kB / 0.6496 GB, free: 9.648 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.5184, allocations: 113.8 kB / 0.6497 GB, free: 9.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.5184, allocations: 29.7 kB / 0.6497 GB, free: 9.492 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.5185, allocations: 96.36 kB / 0.6498 GB, free: 9.395 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.5186, allocations: 79.36 kB / 0.6499 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.5187, allocations: 45.64 kB / 0.6499 GB, free: 9.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5188, allocations: 322.8 kB / 0.6502 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.5191, allocations: 87.95 kB / 0.6503 GB, free: 8.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.5193, allocations: 127.2 kB / 0.6504 GB, free: 8.719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.5198, allocations: 227.3 kB / 0.6506 GB, free: 8.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5198, allocations: 3.938 kB / 0.6506 GB, free: 8.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006428/0.5204, allocations: 282.7 kB / 0.6509 GB, free: 8.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5205, allocations: 8 kB / 0.6509 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5205, allocations: 4.094 kB / 0.6509 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.5206, allocations: 24.84 kB / 0.6509 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.5211, allocations: 51.95 kB / 0.651 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004117/0.5215, allocations: 0.5375 MB / 0.6515 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.5218, allocations: 12.02 kB / 0.6515 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.5218, allocations: 8 kB / 0.6515 GB, free: 7.523 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.5219, allocations: 137.8 kB / 0.6517 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.522, allocations: 7.953 kB / 0.6517 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.5228, allocations: 307 kB / 0.652 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5228, allocations: 3.984 kB / 0.652 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5228, allocations: 7.938 kB / 0.652 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5228, allocations: 0 / 0.652 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.524, allocations: 0.62 MB / 0.6526 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.524, allocations: 0 / 0.6526 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.5244, allocations: 51.89 kB / 0.6526 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-05/0.5245, allocations: 28.94 kB / 0.6527 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.5245, allocations: 7.984 kB / 0.6527 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.5255, allocations: 1.26 MB / 0.6539 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5255, allocations: 0 / 0.6539 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/0.5264, allocations: 451.2 kB / 0.6543 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.5264, allocations: 15.88 kB / 0.6543 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.5265, allocations: 8 kB / 0.6543 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.5268, allocations: 11.98 kB / 0.6544 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.5269, allocations: 19.91 kB / 0.6544 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.5269, allocations: 15.98 kB / 0.6544 GB, free: 4.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.5269, allocations: 83.28 kB / 0.6545 GB, free: 4.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5269, allocations: 0 / 0.6545 GB, free: 4.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006054/0.5275, allocations: 135.7 kB / 0.6546 GB, free: 4.148 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/0.5293, allocations: 1.125 MB / 0.6557 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.5299, allocations: 223.7 kB / 0.6559 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.53, allocations: 0 / 0.6559 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.5304, allocations: 236.7 kB / 0.6561 GB, free: 2.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.5308, allocations: 55.42 kB / 0.6562 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.534, allocations: 2.146 MB / 0.6583 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.5342, allocations: 89.97 kB / 0.6584 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.5345, allocations: 57.33 kB / 0.6584 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.5346, allocations: 39.42 kB / 0.6585 GB, free: 4 kB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5346, allocations: 0 / 0.6585 GB, free: 4 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.5767, allocations: 8.703 MB / 0.667 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.69, allocations: 0 / 0.667 GB, free: 7.289 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 16.799020187929273]