Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008511/0.0008511, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009194/0.0009194, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8903/0.8903, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2481/0.2481, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.427e-06/3.427e-06, allocations: 0 / 439.6 MB, free: 4.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.602e-05, allocations: 6.219 kB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3049/0.3049, allocations: 131.5 MB / 0.5577 GB, free: 1.102 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3063, allocations: 1.434 MB / 0.5591 GB, free: 15.67 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.3064, allocations: 4 kB / 0.5591 GB, free: 15.67 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.3068, allocations: 47.62 kB / 0.5592 GB, free: 15.62 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007223/0.3075, allocations: 429.6 kB / 0.5596 GB, free: 15.2 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.3079, allocations: 171.4 kB / 0.5597 GB, free: 15.03 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.3081, allocations: 191.1 kB / 0.5599 GB, free: 14.84 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.3082, allocations: 6.922 kB / 0.5599 GB, free: 14.84 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.3084, allocations: 103.7 kB / 0.56 GB, free: 14.74 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3085, allocations: 51.88 kB / 0.5601 GB, free: 14.69 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3085, allocations: 8 kB / 0.5601 GB, free: 14.68 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007152/0.3092, allocations: 0.557 MB / 0.5606 GB, free: 14.12 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.3093, allocations: 27.91 kB / 0.5607 GB, free: 14.09 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.3094, allocations: 43.91 kB / 0.5607 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.3098, allocations: 442.9 kB / 0.5611 GB, free: 13.62 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3098, allocations: 0 / 0.5611 GB, free: 13.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3098, allocations: 0 / 0.5611 GB, free: 13.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3098, allocations: 0 / 0.5611 GB, free: 13.62 MB / 474.7 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.0004509/0.3103, allocations: 362.4 kB / 0.5615 GB, free: 13.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3103, allocations: 8.031 kB / 0.5615 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.3104, allocations: 46.73 kB / 0.5615 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.3116, allocations: 203.9 kB / 0.5617 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.3118, allocations: 153.6 kB / 0.5619 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3118, allocations: 12.31 kB / 0.5619 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.3119, allocations: 8 kB / 0.5619 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.3122, allocations: 282.6 kB / 0.5621 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.3122, allocations: 0 / 0.5621 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.3123, allocations: 4 kB / 0.5622 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.3123, allocations: 7.984 kB / 0.5622 GB, free: 12.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.3126, allocations: 228.7 kB / 0.5624 GB, free: 12.25 MB / 474.7 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.00105/0.3137, allocations: 0.5726 MB / 0.5629 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.314, allocations: 186.5 kB / 0.5631 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.3141, allocations: 92.81 kB / 0.5632 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.3142, allocations: 11.98 kB / 0.5632 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3142, allocations: 30.56 kB / 0.5632 GB, free: 11.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3142, allocations: 0 / 0.5632 GB, free: 11.33 MB / 474.7 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.003115/0.3174, allocations: 1.393 MB / 0.5646 GB, free: 9.875 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.3174, allocations: 63.33 kB / 0.5647 GB, free: 9.801 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.3175, allocations: 105.8 kB / 0.5648 GB, free: 9.688 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3175, allocations: 37.7 kB / 0.5648 GB, free: 9.645 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3177, allocations: 96.36 kB / 0.5649 GB, free: 9.547 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.3177, allocations: 63.44 kB / 0.565 GB, free: 9.484 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.3178, allocations: 45.69 kB / 0.565 GB, free: 9.434 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.3178, allocations: 322.8 kB / 0.5653 GB, free: 9.109 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.318, allocations: 87.95 kB / 0.5654 GB, free: 9.023 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3181, allocations: 129.6 kB / 0.5655 GB, free: 8.887 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3184, allocations: 221.5 kB / 0.5657 GB, free: 8.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3184, allocations: 1.375 kB / 0.5657 GB, free: 8.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003908/0.3188, allocations: 289.4 kB / 0.566 GB, free: 8.371 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3188, allocations: 9.719 kB / 0.566 GB, free: 8.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3188, allocations: 0 / 0.566 GB, free: 8.363 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.3189, allocations: 28.88 kB / 0.566 GB, free: 8.332 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3192, allocations: 55.95 kB / 0.5661 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002779/0.3194, allocations: 0.5367 MB / 0.5666 GB, free: 7.715 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.3196, allocations: 4.031 kB / 0.5666 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3196, allocations: 15.98 kB / 0.5666 GB, free: 7.695 MB / 474.7 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.0001015/0.3197, allocations: 122.9 kB / 0.5668 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.3197, allocations: 12.89 kB / 0.5668 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.3202, allocations: 323.2 kB / 0.5671 GB, free: 7.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3202, allocations: 4 kB / 0.5671 GB, free: 7.223 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3202, allocations: 0 / 0.5671 GB, free: 7.223 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.3202, allocations: 9.312 kB / 0.5671 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.321, allocations: 0.6187 MB / 0.5677 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.321, allocations: 0 / 0.5677 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.3212, allocations: 55.83 kB / 0.5677 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.626e-05/0.3212, allocations: 20.84 kB / 0.5678 GB, free: 6.465 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.3212, allocations: 11.98 kB / 0.5678 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005941/0.3218, allocations: 1.252 MB / 0.569 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.3218, allocations: 11.95 kB / 0.569 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.3223, allocations: 449.9 kB / 0.5694 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.3224, allocations: 20.12 kB / 0.5695 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3224, allocations: 8 kB / 0.5695 GB, free: 4.582 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3225, allocations: 8 kB / 0.5695 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.3226, allocations: 15.97 kB / 0.5695 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3226, allocations: 11.98 kB / 0.5695 GB, free: 4.547 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.611e-05/0.3226, allocations: 91.27 kB / 0.5696 GB, free: 4.457 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3226, allocations: 0 / 0.5696 GB, free: 4.457 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003855/0.323, allocations: 131.7 kB / 0.5697 GB, free: 4.328 MB / 474.7 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.00109/0.3241, allocations: 1.142 MB / 0.5708 GB, free: 3.152 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.3245, allocations: 227.7 kB / 0.571 GB, free: 2.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3245, allocations: 4 kB / 0.571 GB, free: 2.926 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.3247, allocations: 222.6 kB / 0.5713 GB, free: 2.695 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.325, allocations: 48.45 kB / 0.5713 GB, free: 2.648 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.3271, allocations: 2.095 MB / 0.5734 GB, free: 448 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.609e-05/0.3271, allocations: 94.09 kB / 0.5734 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.3273, allocations: 49.45 kB / 0.5735 GB, free: 288 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3274, allocations: 40.48 kB / 0.5735 GB, free: 248 kB / 474.7 MB Notification: Performance of SimCode: time 8.51e-07/0.3274, allocations: 0 / 0.5735 GB, free: 248 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3514, allocations: 8.822 MB / 0.5821 GB, free: 7.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.444, allocations: 15.14 kB / 0.5822 GB, free: 7.559 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 10.590439108200371]