Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.001374/0.001374, allocations: 93.92 kB / 20.48 MB, free: 1.367 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.001369/0.001369, allocations: 215.7 kB / 23.78 MB, free: 4.516 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.473/1.473, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2201/0.2201, allocations: 44.27 MB / 331.1 MB, free: 9.309 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.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",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.00215/0.00215, allocations: 71.91 kB / 468.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1329, allocations: 61.04 MB / 0.5169 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.413/0.5459, allocations: 129.4 MB / 0.6433 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.5473, allocations: 0.8778 MB / 0.6442 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.5474, allocations: 3.938 kB / 0.6442 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.5477, allocations: 27.83 kB / 0.6442 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007114/0.5484, allocations: 246.5 kB / 0.6444 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.5488, allocations: 120.8 kB / 0.6445 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.5491, allocations: 167.3 kB / 0.6447 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.5491, allocations: 11.92 kB / 0.6447 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.5494, allocations: 87.69 kB / 0.6448 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.5495, allocations: 55.75 kB / 0.6448 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.5495, allocations: 8 kB / 0.6449 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.5501, allocations: 263.7 kB / 0.6451 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.5502, allocations: 19.92 kB / 0.6451 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.5502, allocations: 35.86 kB / 0.6452 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.5507, allocations: 285.4 kB / 0.6454 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5507, allocations: 0 / 0.6454 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5507, allocations: 3.938 kB / 0.6454 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.5508, allocations: 4 kB / 0.6454 GB, free: 14.64 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005488/0.5513, allocations: 325.9 kB / 0.6458 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5513, allocations: 8.031 kB / 0.6458 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.947e-05/0.5514, allocations: 4.188 kB / 0.6458 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.5514, allocations: 38.75 kB / 0.6458 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.5535, allocations: 207.2 kB / 0.646 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.5538, allocations: 154.2 kB / 0.6461 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.5539, allocations: 4 kB / 0.6461 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.5539, allocations: 8 kB / 0.6462 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.5545, allocations: 301.1 kB / 0.6464 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5545, allocations: 0 / 0.6464 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.5546, allocations: 4 kB / 0.6464 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5546, allocations: 3.984 kB / 0.6465 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.555, allocations: 175.9 kB / 0.6466 GB, free: 13.34 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.001084/0.5561, allocations: 0.5171 MB / 0.6471 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.5565, allocations: 138.5 kB / 0.6473 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.5566, allocations: 64.83 kB / 0.6473 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.5567, allocations: 7.984 kB / 0.6473 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5567, allocations: 38.5 kB / 0.6474 GB, free: 12.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.5567, allocations: 0 / 0.6474 GB, free: 12.51 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.005455/0.5622, allocations: 1.149 MB / 0.6485 GB, free: 11.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.5622, allocations: 63.34 kB / 0.6485 GB, free: 11.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.5623, allocations: 115 kB / 0.6487 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.5624, allocations: 29.7 kB / 0.6487 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.5624, allocations: 92.03 kB / 0.6488 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.5625, allocations: 79.36 kB / 0.6488 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.5626, allocations: 49.7 kB / 0.6489 GB, free: 10.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5627, allocations: 322.8 kB / 0.6492 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.5629, allocations: 72.83 kB / 0.6493 GB, free: 10.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.5631, allocations: 99.39 kB / 0.6494 GB, free: 10.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.5635, allocations: 183.3 kB / 0.6495 GB, free: 10.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5635, allocations: 4 kB / 0.6495 GB, free: 10.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005447/0.564, allocations: 262.2 kB / 0.6498 GB, free: 9.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.564, allocations: 4 kB / 0.6498 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.564, allocations: 4 kB / 0.6498 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.5642, allocations: 56.7 kB / 0.6499 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.5646, allocations: 49.09 kB / 0.6499 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004848/0.5651, allocations: 0.5757 MB / 0.6505 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.5652, allocations: 4.031 kB / 0.6505 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.5653, allocations: 27.98 kB / 0.6505 GB, free: 9.141 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.0001364/0.5654, allocations: 121.8 kB / 0.6506 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.5655, allocations: 15.88 kB / 0.6506 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008227/0.5663, allocations: 347.1 kB / 0.651 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5663, allocations: 0 / 0.651 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5663, allocations: 0 / 0.651 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5663, allocations: 4 kB / 0.651 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.5674, allocations: 0.5675 MB / 0.6515 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5674, allocations: 0 / 0.6515 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.5678, allocations: 63.89 kB / 0.6516 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.739e-05/0.5678, allocations: 20.84 kB / 0.6516 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5679, allocations: 15.98 kB / 0.6516 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.569, allocations: 1.271 MB / 0.6529 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.569, allocations: 0 / 0.6529 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007696/0.5697, allocations: 438.5 kB / 0.6533 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.5698, allocations: 7.984 kB / 0.6533 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.5698, allocations: 8 kB / 0.6533 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.57, allocations: 12.22 kB / 0.6533 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.5701, allocations: 27.64 kB / 0.6533 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.5701, allocations: 27.98 kB / 0.6534 GB, free: 6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.245e-05/0.5702, allocations: 87.28 kB / 0.6534 GB, free: 5.914 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5702, allocations: 0 / 0.6534 GB, free: 5.914 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.5707, allocations: 83.86 kB / 0.6535 GB, free: 5.832 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 (21): * Single equations (assignments): 20 * 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.001491/0.5722, allocations: 1.017 MB / 0.6545 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.5727, allocations: 195.9 kB / 0.6547 GB, free: 4.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5727, allocations: 4.188 kB / 0.6547 GB, free: 4.578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.5731, allocations: 218.5 kB / 0.6549 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.5735, allocations: 48.42 kB / 0.655 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.5766, allocations: 2.086 MB / 0.657 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.5767, allocations: 89.97 kB / 0.6571 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004015/0.5771, allocations: 77.39 kB / 0.6572 GB, free: 1.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.5773, allocations: 67.39 kB / 0.6572 GB, free: 1.852 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5773, allocations: 0 / 0.6572 GB, free: 1.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.6116, allocations: 7.576 MB / 0.6646 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.85, allocations: 7.938 kB / 0.6646 GB, free: 10.26 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.94964821403846]