Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009083/0.0009083, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001656/0.001656, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9701/0.9701, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2854/0.2854, allocations: 34.26 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.881e-05, allocations: 2.281 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3203/0.3203, allocations: 131.5 MB / 0.5602 GB, free: 13.14 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3217, allocations: 1.444 MB / 0.5617 GB, free: 11.69 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.3218, allocations: 0 / 0.5617 GB, free: 11.69 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.3222, allocations: 43.75 kB / 0.5617 GB, free: 11.65 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007525/0.3229, allocations: 425.6 kB / 0.5621 GB, free: 11.23 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.3233, allocations: 175.3 kB / 0.5623 GB, free: 11.06 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3235, allocations: 187.1 kB / 0.5624 GB, free: 10.88 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.3236, allocations: 10.91 kB / 0.5625 GB, free: 10.87 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3238, allocations: 103.7 kB / 0.5626 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3239, allocations: 55.86 kB / 0.5626 GB, free: 10.71 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3239, allocations: 4 kB / 0.5626 GB, free: 10.71 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007082/0.3246, allocations: 0.5531 MB / 0.5632 GB, free: 10.15 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.3247, allocations: 35.89 kB / 0.5632 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.3247, allocations: 35.92 kB / 0.5632 GB, free: 10.08 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.3253, allocations: 442.9 kB / 0.5636 GB, free: 9.648 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3253, allocations: 0 / 0.5636 GB, free: 9.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3253, allocations: 0 / 0.5636 GB, free: 9.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3253, allocations: 4 kB / 0.5636 GB, free: 9.645 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.000606/0.3259, allocations: 366.3 kB / 0.564 GB, free: 9.262 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.3259, allocations: 16.02 kB / 0.564 GB, free: 9.246 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.326, allocations: 34.75 kB / 0.564 GB, free: 9.203 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.3273, allocations: 211.9 kB / 0.5642 GB, free: 9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.3275, allocations: 149.7 kB / 0.5644 GB, free: 8.828 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3275, allocations: 8.125 kB / 0.5644 GB, free: 8.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.3276, allocations: 8 kB / 0.5644 GB, free: 8.812 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.328, allocations: 283.5 kB / 0.5647 GB, free: 8.512 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.328, allocations: 0 / 0.5647 GB, free: 8.512 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.328, allocations: 8 kB / 0.5647 GB, free: 8.504 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.328, allocations: 5.5 kB / 0.5647 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.3284, allocations: 231.8 kB / 0.5649 GB, free: 8.273 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.001207/0.3296, allocations: 0.5661 MB / 0.5655 GB, free: 7.699 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.3299, allocations: 190.4 kB / 0.5656 GB, free: 7.504 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3301, allocations: 88.81 kB / 0.5657 GB, free: 7.414 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.3302, allocations: 12 kB / 0.5657 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3302, allocations: 38.5 kB / 0.5658 GB, free: 7.355 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.3302, allocations: 0 / 0.5658 GB, free: 7.355 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.003938/0.3342, allocations: 1.398 MB / 0.5671 GB, free: 5.895 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.3342, allocations: 51.41 kB / 0.5672 GB, free: 5.832 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.3343, allocations: 113.8 kB / 0.5673 GB, free: 5.711 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3343, allocations: 25.7 kB / 0.5673 GB, free: 5.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.3344, allocations: 100.4 kB / 0.5674 GB, free: 5.578 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.3344, allocations: 75.41 kB / 0.5675 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.3345, allocations: 45.7 kB / 0.5675 GB, free: 5.453 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.3346, allocations: 322.8 kB / 0.5678 GB, free: 5.129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3347, allocations: 87.95 kB / 0.5679 GB, free: 5.043 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3348, allocations: 128.7 kB / 0.5681 GB, free: 4.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.3351, allocations: 225 kB / 0.5683 GB, free: 4.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3351, allocations: 3.938 kB / 0.5683 GB, free: 4.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003999/0.3355, allocations: 285.4 kB / 0.5685 GB, free: 4.391 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3355, allocations: 4 kB / 0.5685 GB, free: 4.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3356, allocations: 4 kB / 0.5685 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.3357, allocations: 28.83 kB / 0.5686 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3359, allocations: 52 kB / 0.5686 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002793/0.3362, allocations: 0.5368 MB / 0.5692 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.3363, allocations: 8 kB / 0.5692 GB, free: 3.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.3363, allocations: 9.016 kB / 0.5692 GB, free: 3.723 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 9.77e-05/0.3364, allocations: 130.8 kB / 0.5693 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3365, allocations: 7.953 kB / 0.5693 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.337, allocations: 318 kB / 0.5696 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.337, allocations: 4 kB / 0.5696 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.337, allocations: 3.938 kB / 0.5696 GB, free: 3.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.337, allocations: 2.062 kB / 0.5696 GB, free: 3.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.3377, allocations: 0.6249 MB / 0.5702 GB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3377, allocations: 7.938 kB / 0.5702 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.3379, allocations: 47.97 kB / 0.5703 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.679e-05/0.338, allocations: 16.84 kB / 0.5703 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.338, allocations: 11.98 kB / 0.5703 GB, free: 2.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006356/0.3386, allocations: 1.263 MB / 0.5715 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3386, allocations: 0 / 0.5715 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.3391, allocations: 446.7 kB / 0.572 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.3391, allocations: 15.92 kB / 0.572 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3392, allocations: 4 kB / 0.572 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3393, allocations: 12.17 kB / 0.572 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.3394, allocations: 19.97 kB / 0.572 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3394, allocations: 8 kB / 0.572 GB, free: 0.582 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.3394, allocations: 91.27 kB / 0.5721 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3394, allocations: 0 / 0.5721 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.3398, allocations: 139.6 kB / 0.5722 GB, free: 364 kB / 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.001132/0.3409, allocations: 1.137 MB / 0.5734 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.3413, allocations: 223.8 kB / 0.5736 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3413, allocations: 0 / 0.5736 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.3416, allocations: 233.3 kB / 0.5738 GB, free: 14.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.3421, allocations: 56.75 kB / 0.5738 GB, free: 14.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3441, allocations: 2.075 MB / 0.5759 GB, free: 12.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.427e-05/0.3442, allocations: 98.09 kB / 0.576 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.3444, allocations: 53.39 kB / 0.576 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3445, allocations: 40.48 kB / 0.5761 GB, free: 12.27 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3445, allocations: 0 / 0.5761 GB, free: 12.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.3677, allocations: 8.831 MB / 0.5847 GB, free: 3.598 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.753, allocations: 3.938 kB / 0.5847 GB, free: 3.594 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.029346220195293]