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.001909/0.001909, allocations: 113.7 kB / 17.13 MB, free: 5.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.002301/0.002301, allocations: 211.2 kB / 20.1 MB, free: 2.961 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.571/1.571, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.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.3427/0.3427, allocations: 44.23 MB / 326.6 MB, free: 6.809 MB / 254.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="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.002112/0.002112, allocations: 67.89 kB / 462.2 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2948, allocations: 61 MB / 0.5109 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4827/0.7774, allocations: 151.3 MB / 0.6587 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.779, allocations: 1.498 MB / 0.6601 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.7791, allocations: 0 / 0.6601 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.7795, allocations: 58.12 kB / 0.6602 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009437/0.7804, allocations: 388.3 kB / 0.6606 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.7809, allocations: 174.5 kB / 0.6607 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.7812, allocations: 180.4 kB / 0.6609 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.7813, allocations: 13.28 kB / 0.6609 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.7814, allocations: 74.62 kB / 0.661 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.7816, allocations: 64.62 kB / 0.6611 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.7816, allocations: 6.281 kB / 0.6611 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.7828, allocations: 0.5924 MB / 0.6616 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.7828, allocations: 32.47 kB / 0.6617 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.7829, allocations: 57.77 kB / 0.6617 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.7836, allocations: 388.5 kB / 0.6621 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7836, allocations: 0 / 0.6621 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7836, allocations: 0.875 kB / 0.6621 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.7836, allocations: 0 / 0.6621 GB, free: 0.5117 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006338/0.7842, allocations: 429 kB / 0.6625 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.7842, allocations: 14.28 kB / 0.6625 GB, free: 16.11 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.7843, allocations: 42.38 kB / 0.6626 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.7866, allocations: 204.5 kB / 0.6628 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.7869, allocations: 206 kB / 0.6629 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.7869, allocations: 10.72 kB / 0.663 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.787, allocations: 10.09 kB / 0.663 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.7875, allocations: 198.6 kB / 0.6632 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7875, allocations: 3.984 kB / 0.6632 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.7876, allocations: 9.344 kB / 0.6632 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.7876, allocations: 2.312 kB / 0.6632 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.7883, allocations: 247 kB / 0.6634 GB, free: 15.81 MB / 0.5137 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.002006/0.7903, allocations: 0.66 MB / 0.6641 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/0.7908, allocations: 188.1 kB / 0.6642 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.791, allocations: 90.78 kB / 0.6643 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.7912, allocations: 93.81 kB / 0.6644 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.7913, allocations: 32.84 kB / 0.6644 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.7913, allocations: 0 / 0.6644 GB, free: 15.27 MB / 0.5137 GB 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.005773/0.797, allocations: 1.542 MB / 0.6659 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.7971, allocations: 54.66 kB / 0.666 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.7972, allocations: 110.5 kB / 0.6661 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.7972, allocations: 25.7 kB / 0.6661 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.7973, allocations: 101.9 kB / 0.6662 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.7974, allocations: 78.22 kB / 0.6663 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.7975, allocations: 46.64 kB / 0.6663 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7977, allocations: 319.1 kB / 0.6666 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.7978, allocations: 92.11 kB / 0.6667 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.7981, allocations: 128 kB / 0.6669 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.7985, allocations: 224.9 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7985, allocations: 4.5 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007077/0.7993, allocations: 278 kB / 0.6673 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.7993, allocations: 5.594 kB / 0.6673 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7993, allocations: 1.062 kB / 0.6673 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.7994, allocations: 29.94 kB / 0.6674 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.7999, allocations: 56.84 kB / 0.6674 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004369/0.8004, allocations: 0.5326 MB / 0.668 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.8007, allocations: 11.64 kB / 0.668 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.8007, allocations: 7.188 kB / 0.668 GB, free: 13.34 MB / 0.5137 GB 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.0001614/0.8009, allocations: 136.6 kB / 0.6681 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.801, allocations: 13.16 kB / 0.6681 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008565/0.8018, allocations: 319.5 kB / 0.6684 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8018, allocations: 2.219 kB / 0.6684 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.8018, allocations: 5.094 kB / 0.6684 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.8018, allocations: 0 / 0.6684 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.8031, allocations: 0.6805 MB / 0.6691 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8031, allocations: 1.094 kB / 0.6691 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.8036, allocations: 51.11 kB / 0.6691 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-05/0.8037, allocations: 19.8 kB / 0.6692 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.8037, allocations: 10.89 kB / 0.6692 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.8049, allocations: 1.364 MB / 0.6705 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.8049, allocations: 4.125 kB / 0.6705 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009868/0.8059, allocations: 446.7 kB / 0.6709 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.806, allocations: 94 kB / 0.671 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.806, allocations: 10.66 kB / 0.671 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.8063, allocations: 11.52 kB / 0.671 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.8064, allocations: 21.05 kB / 0.6711 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.8064, allocations: 9.859 kB / 0.6711 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.72e-05/0.8065, allocations: 88.09 kB / 0.6712 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.8065, allocations: 0 / 0.6712 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007435/0.8072, allocations: 131.4 kB / 0.6713 GB, free: 11.04 MB / 0.5137 GB 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.001835/0.8091, allocations: 1.135 MB / 0.6724 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000619/0.8097, allocations: 227.9 kB / 0.6726 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.8097, allocations: 0.5625 kB / 0.6726 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.8101, allocations: 234.2 kB / 0.6728 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.8106, allocations: 45.61 kB / 0.6729 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.8137, allocations: 2.14 MB / 0.675 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.814, allocations: 0.7038 MB / 0.6756 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002814/0.8143, allocations: 63.53 kB / 0.6757 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.8145, allocations: 38.44 kB / 0.6757 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.8145, allocations: 4 kB / 0.6757 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/0.8521, allocations: 8.002 MB / 0.6836 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.93, allocations: 9 kB / 0.6836 GB, free: 7.059 MB / 0.5137 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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.033415388999856]