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.001778/0.001778, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001927/0.001927, allocations: 214 kB / 23.77 MB, free: 4.551 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.528/1.528, allocations: 207.7 MB / 234.6 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.2232/0.2232, allocations: 44.26 MB / 331.1 MB, free: 9.324 MB / 270.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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002186/0.002186, allocations: 75.88 kB / 468.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 61.04 MB / 0.5169 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4001/0.5236, allocations: 129.7 MB / 0.6435 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.5257, allocations: 1.342 MB / 0.6448 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.5258, allocations: 4 kB / 0.6448 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.5261, allocations: 39.75 kB / 0.6449 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.5272, allocations: 406 kB / 0.6453 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.5277, allocations: 176.9 kB / 0.6454 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.528, allocations: 183.2 kB / 0.6456 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.528, allocations: 7.984 kB / 0.6456 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.5282, allocations: 83.69 kB / 0.6457 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.5284, allocations: 63.73 kB / 0.6458 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.5284, allocations: 12 kB / 0.6458 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.5294, allocations: 0.53 MB / 0.6463 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.5295, allocations: 34.16 kB / 0.6463 GB, free: 14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.5295, allocations: 43.84 kB / 0.6464 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.5302, allocations: 381.1 kB / 0.6467 GB, free: 13.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5302, allocations: 0 / 0.6467 GB, free: 13.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5302, allocations: 0 / 0.6467 GB, free: 13.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5302, allocations: 0 / 0.6467 GB, free: 13.58 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.0005468/0.5307, allocations: 349.9 kB / 0.6471 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5308, allocations: 12.03 kB / 0.6471 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.546e-05/0.5308, allocations: 4.375 kB / 0.6471 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.5308, allocations: 46.67 kB / 0.6471 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.533, allocations: 197.1 kB / 0.6473 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.5333, allocations: 150.2 kB / 0.6474 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.5333, allocations: 8 kB / 0.6475 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.5334, allocations: 15.94 kB / 0.6475 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.5339, allocations: 274.6 kB / 0.6477 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5339, allocations: 3.938 kB / 0.6477 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.534, allocations: 8 kB / 0.6477 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.534, allocations: 3.938 kB / 0.6477 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.5346, allocations: 239.8 kB / 0.648 GB, free: 12.21 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.001732/0.5363, allocations: 0.5605 MB / 0.6485 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.5368, allocations: 198.4 kB / 0.6487 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.537, allocations: 86.14 kB / 0.6488 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.5371, allocations: 19.98 kB / 0.6488 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5371, allocations: 30.56 kB / 0.6488 GB, free: 11.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.5371, allocations: 0 / 0.6488 GB, free: 11.26 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.005822/0.543, allocations: 1.379 MB / 0.6502 GB, free: 9.809 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.543, allocations: 59.41 kB / 0.6502 GB, free: 9.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.5431, allocations: 113.8 kB / 0.6504 GB, free: 9.617 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.5432, allocations: 33.7 kB / 0.6504 GB, free: 9.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.5433, allocations: 96.36 kB / 0.6505 GB, free: 9.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/0.5433, allocations: 79.36 kB / 0.6506 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.5435, allocations: 45.64 kB / 0.6506 GB, free: 9.352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5436, allocations: 318.8 kB / 0.6509 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.5438, allocations: 87.95 kB / 0.651 GB, free: 8.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.5441, allocations: 127.2 kB / 0.6511 GB, free: 8.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.5446, allocations: 231.2 kB / 0.6513 GB, free: 8.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5446, allocations: 0 / 0.6513 GB, free: 8.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006465/0.5452, allocations: 282.2 kB / 0.6516 GB, free: 8.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5453, allocations: 7.984 kB / 0.6516 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5453, allocations: 0 / 0.6516 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.5454, allocations: 28.94 kB / 0.6516 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.5459, allocations: 59.91 kB / 0.6517 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004466/0.5463, allocations: 0.5257 MB / 0.6522 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.5466, allocations: 15.97 kB / 0.6522 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.5466, allocations: 11.98 kB / 0.6522 GB, free: 7.609 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.0001533/0.5468, allocations: 125.8 kB / 0.6523 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.5469, allocations: 12 kB / 0.6524 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.5477, allocations: 318.5 kB / 0.6527 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5477, allocations: 3.938 kB / 0.6527 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.5477, allocations: 7.625 kB / 0.6527 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5477, allocations: 7.984 kB / 0.6527 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.5489, allocations: 0.6087 MB / 0.6533 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5489, allocations: 4 kB / 0.6533 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.5493, allocations: 47.95 kB / 0.6533 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.858e-05/0.5494, allocations: 24.8 kB / 0.6533 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.5494, allocations: 8.094 kB / 0.6534 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.5505, allocations: 1.263 MB / 0.6546 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5505, allocations: 0 / 0.6546 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.5514, allocations: 451.8 kB / 0.655 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.5514, allocations: 20 kB / 0.655 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.5514, allocations: 0 / 0.655 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.5518, allocations: 11.98 kB / 0.655 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.5518, allocations: 23.91 kB / 0.6551 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.5519, allocations: 8 kB / 0.6551 GB, free: 4.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.054e-05/0.5519, allocations: 99.5 kB / 0.6552 GB, free: 4.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5519, allocations: 0 / 0.6552 GB, free: 4.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005508/0.5525, allocations: 131.7 kB / 0.6553 GB, free: 4.234 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.001775/0.5542, allocations: 1.125 MB / 0.6564 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006299/0.5549, allocations: 219.7 kB / 0.6566 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5549, allocations: 0 / 0.6566 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.5553, allocations: 236.3 kB / 0.6568 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.556, allocations: 52.23 kB / 0.6569 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.5592, allocations: 2.147 MB / 0.659 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.898e-05/0.5593, allocations: 93.97 kB / 0.6591 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.5596, allocations: 61.64 kB / 0.6591 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.5598, allocations: 39.42 kB / 0.6592 GB, free: 92 kB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5598, allocations: 0 / 0.6592 GB, free: 92 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.5943, allocations: 8.416 MB / 0.6674 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.01, allocations: 8.062 kB / 0.6674 GB, free: 7.652 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: 17.299728729994968]