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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 107.4 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 67.89 kB / 441.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.125, allocations: 57.79 MB / 499.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3744/0.4994, allocations: 150.6 MB / 0.6344 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.5008, allocations: 0.979 MB / 0.6354 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.5008, allocations: 0 / 0.6354 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.5011, allocations: 23.83 kB / 0.6354 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.5018, allocations: 250.6 kB / 0.6357 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.5022, allocations: 112 kB / 0.6358 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.5024, allocations: 171.2 kB / 0.6359 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.5025, allocations: 15.97 kB / 0.6359 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.5027, allocations: 79.64 kB / 0.636 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.5028, allocations: 59.77 kB / 0.6361 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.5029, allocations: 4 kB / 0.6361 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.5034, allocations: 263.7 kB / 0.6363 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.312e-05/0.5035, allocations: 23.91 kB / 0.6364 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.5036, allocations: 39.86 kB / 0.6364 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.504, allocations: 290.3 kB / 0.6367 GB, free: 2.066 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.504, allocations: 0 / 0.6367 GB, free: 2.066 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.504, allocations: 0 / 0.6367 GB, free: 2.066 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.504, allocations: 0 / 0.6367 GB, free: 2.066 MB / 478.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.0005476/0.5046, allocations: 403.1 kB / 0.6371 GB, free: 1.625 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.5046, allocations: 11.89 kB / 0.6371 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.5047, allocations: 42.73 kB / 0.6371 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.5067, allocations: 193.1 kB / 0.6373 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.507, allocations: 214.3 kB / 0.6375 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5071, allocations: 7.938 kB / 0.6375 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.5071, allocations: 16 kB / 0.6375 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.5076, allocations: 227.3 kB / 0.6377 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5077, allocations: 0 / 0.6377 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.5077, allocations: 4 kB / 0.6377 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.5077, allocations: 4 kB / 0.6377 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.5082, allocations: 167.9 kB / 0.6379 GB, free: 0.6992 MB / 478.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.001074/0.5093, allocations: 0.5681 MB / 0.6385 GB, free: 76 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.5096, allocations: 142.5 kB / 0.6386 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.5098, allocations: 76.81 kB / 0.6387 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.5099, allocations: 7.906 kB / 0.6387 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.5099, allocations: 34.56 kB / 0.6387 GB, free: 15.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 3.497e-06/0.5099, allocations: 0 / 0.6387 GB, free: 15.8 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.005341/0.5153, allocations: 1.301 MB / 0.64 GB, free: 14.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.5153, allocations: 55.34 kB / 0.64 GB, free: 14.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.5154, allocations: 117.8 kB / 0.6401 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.5155, allocations: 29.7 kB / 0.6402 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.5155, allocations: 96.03 kB / 0.6403 GB, free: 14.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.5156, allocations: 75.36 kB / 0.6403 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.5157, allocations: 53.69 kB / 0.6404 GB, free: 13.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5159, allocations: 318.8 kB / 0.6407 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.516, allocations: 75.95 kB / 0.6408 GB, free: 13.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.5162, allocations: 95.39 kB / 0.6409 GB, free: 13.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.5166, allocations: 187.3 kB / 0.641 GB, free: 13.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5166, allocations: 0 / 0.641 GB, free: 13.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005203/0.5171, allocations: 263 kB / 0.6413 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5172, allocations: 4 kB / 0.6413 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5172, allocations: 0 / 0.6413 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.5173, allocations: 52.77 kB / 0.6413 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.5177, allocations: 52.06 kB / 0.6414 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004571/0.5181, allocations: 0.5757 MB / 0.642 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.5183, allocations: 8.031 kB / 0.642 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.5184, allocations: 24.86 kB / 0.642 GB, free: 12.25 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.0001266/0.5185, allocations: 125.9 kB / 0.6421 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.5186, allocations: 11.95 kB / 0.6421 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.5193, allocations: 344.2 kB / 0.6424 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.5194, allocations: 7.938 kB / 0.6425 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5194, allocations: 0 / 0.6425 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5194, allocations: 4 kB / 0.6425 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5204, allocations: 0.623 MB / 0.6431 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5204, allocations: 0 / 0.6431 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.5208, allocations: 67.89 kB / 0.6431 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.338e-05/0.5209, allocations: 16.84 kB / 0.6431 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.5209, allocations: 15.98 kB / 0.6432 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.522, allocations: 1.375 MB / 0.6445 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.522, allocations: 4.031 kB / 0.6445 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.5227, allocations: 438 kB / 0.6449 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.5228, allocations: 89.16 kB / 0.645 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.5228, allocations: 12 kB / 0.645 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.523, allocations: 0 / 0.645 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.5231, allocations: 27.97 kB / 0.645 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.5231, allocations: 23.98 kB / 0.6451 GB, free: 8.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.583e-05/0.5232, allocations: 91.27 kB / 0.6452 GB, free: 8.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5232, allocations: 0 / 0.6452 GB, free: 8.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.5236, allocations: 83.88 kB / 0.6452 GB, free: 8.648 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.001261/0.5249, allocations: 1.017 MB / 0.6462 GB, free: 7.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.5254, allocations: 200 kB / 0.6464 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.5254, allocations: 8 kB / 0.6464 GB, free: 7.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.5258, allocations: 226.5 kB / 0.6466 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.5263, allocations: 47.34 kB / 0.6467 GB, free: 7.109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.529, allocations: 2.078 MB / 0.6487 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.5294, allocations: 0.7046 MB / 0.6494 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.5297, allocations: 73.39 kB / 0.6495 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.5299, allocations: 67.39 kB / 0.6495 GB, free: 4.039 MB / 494.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5299, allocations: 0 / 0.6495 GB, free: 4.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.5652, allocations: 7.309 MB / 0.6567 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.39, allocations: 11.98 kB / 0.6567 GB, free: 12.71 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/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) Reference file matches