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.001026/0.001026, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.001086/0.001086, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9138/0.9138, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1449/0.1449, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.94e-05, allocations: 9.938 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3213/0.3214, allocations: 129.8 MB / 0.524 GB, free: 24.62 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3227, allocations: 1.339 MB / 0.5253 GB, free: 23.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.3228, allocations: 0 / 0.5253 GB, free: 23.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.3232, allocations: 49.61 kB / 0.5254 GB, free: 23.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000974/0.3242, allocations: 405.8 kB / 0.5258 GB, free: 23.54 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.3246, allocations: 174.2 kB / 0.5259 GB, free: 23.46 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.3248, allocations: 185.5 kB / 0.5261 GB, free: 23.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.3249, allocations: 3.031 kB / 0.5261 GB, free: 23.38 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.325, allocations: 114.7 kB / 0.5262 GB, free: 23.33 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3252, allocations: 52.92 kB / 0.5263 GB, free: 23.32 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3252, allocations: 6.969 kB / 0.5263 GB, free: 23.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008281/0.326, allocations: 0.5225 MB / 0.5268 GB, free: 23.15 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.3261, allocations: 37.02 kB / 0.5268 GB, free: 23.13 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.3261, allocations: 39.2 kB / 0.5269 GB, free: 23.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.3267, allocations: 425 kB / 0.5273 GB, free: 22.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3267, allocations: 0 / 0.5273 GB, free: 22.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3267, allocations: 1.156 kB / 0.5273 GB, free: 22.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3267, allocations: 0 / 0.5273 GB, free: 22.98 MB / 442.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.0004522/0.3272, allocations: 361.4 kB / 0.5276 GB, free: 22.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3272, allocations: 10.78 kB / 0.5276 GB, free: 22.66 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.3272, allocations: 40.06 kB / 0.5277 GB, free: 22.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.3284, allocations: 200 kB / 0.5279 GB, free: 22.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3286, allocations: 154.2 kB / 0.528 GB, free: 22.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3286, allocations: 11.81 kB / 0.528 GB, free: 22.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.3287, allocations: 13.81 kB / 0.528 GB, free: 22.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.3291, allocations: 281.7 kB / 0.5283 GB, free: 22.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3291, allocations: 1.156 kB / 0.5283 GB, free: 22.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.3291, allocations: 5.312 kB / 0.5283 GB, free: 22.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3291, allocations: 1.344 kB / 0.5283 GB, free: 22.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.3295, allocations: 236.4 kB / 0.5285 GB, free: 22.17 MB / 442.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.001013/0.3305, allocations: 0.5731 MB / 0.5291 GB, free: 21.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.3308, allocations: 193.8 kB / 0.5293 GB, free: 21.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.3309, allocations: 91.17 kB / 0.5294 GB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.331, allocations: 10.42 kB / 0.5294 GB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.331, allocations: 37.19 kB / 0.5294 GB, free: 21.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.331, allocations: 7.922 kB / 0.5294 GB, free: 21.57 MB / 442.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.003146/0.3341, allocations: 1.373 MB / 0.5308 GB, free: 20.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.3342, allocations: 57.59 kB / 0.5308 GB, free: 20.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.3342, allocations: 119.6 kB / 0.5309 GB, free: 20.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3343, allocations: 27.55 kB / 0.5309 GB, free: 20.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.3343, allocations: 97.98 kB / 0.531 GB, free: 20.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.3343, allocations: 68.78 kB / 0.5311 GB, free: 20.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.3344, allocations: 43.98 kB / 0.5311 GB, free: 20.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.3344, allocations: 319.2 kB / 0.5315 GB, free: 20.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3346, allocations: 101.4 kB / 0.5315 GB, free: 20.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.3347, allocations: 120.6 kB / 0.5317 GB, free: 20.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.335, allocations: 229 kB / 0.5319 GB, free: 19.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.335, allocations: 1.719 kB / 0.5319 GB, free: 19.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003849/0.3354, allocations: 279.7 kB / 0.5322 GB, free: 19.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3354, allocations: 5.75 kB / 0.5322 GB, free: 19.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3354, allocations: 9.156 kB / 0.5322 GB, free: 19.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001081/0.3355, allocations: 24.59 kB / 0.5322 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3358, allocations: 58.25 kB / 0.5322 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001933/0.336, allocations: 0.5314 MB / 0.5328 GB, free: 19.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.3361, allocations: 10.45 kB / 0.5328 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3361, allocations: 10.03 kB / 0.5328 GB, free: 19.23 MB / 442.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 7.735e-05/0.3362, allocations: 131.9 kB / 0.5329 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3362, allocations: 8.734 kB / 0.5329 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.3367, allocations: 323 kB / 0.5332 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3367, allocations: 2.375 kB / 0.5332 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3367, allocations: 4 kB / 0.5332 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3367, allocations: 1.312 kB / 0.5332 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.3373, allocations: 0.6208 MB / 0.5338 GB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3373, allocations: 2.719 kB / 0.5338 GB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.3376, allocations: 50.5 kB / 0.5339 GB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.213e-05/0.3376, allocations: 23.7 kB / 0.5339 GB, free: 18.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3376, allocations: 5.109 kB / 0.5339 GB, free: 18.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004767/0.3381, allocations: 1.253 MB / 0.5351 GB, free: 17.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3381, allocations: 1.625 kB / 0.5351 GB, free: 17.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.3387, allocations: 460.1 kB / 0.5356 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.3387, allocations: 7.484 kB / 0.5356 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3387, allocations: 12.8 kB / 0.5356 GB, free: 16.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3388, allocations: 8.938 kB / 0.5356 GB, free: 16.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.3389, allocations: 19.52 kB / 0.5356 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3389, allocations: 18.02 kB / 0.5356 GB, free: 16.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.28e-05/0.3389, allocations: 84.38 kB / 0.5357 GB, free: 16.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3389, allocations: 0 / 0.5357 GB, free: 16.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.3393, allocations: 131.8 kB / 0.5358 GB, free: 16.79 MB / 442.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.0009996/0.3403, allocations: 1.134 MB / 0.537 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.3407, allocations: 236 kB / 0.5372 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3407, allocations: 1.375 kB / 0.5372 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.341, allocations: 227.6 kB / 0.5374 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3413, allocations: 39.53 kB / 0.5374 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.343, allocations: 2.082 MB / 0.5395 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.999e-05/0.3431, allocations: 96.14 kB / 0.5396 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.3433, allocations: 57.81 kB / 0.5396 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.3434, allocations: 41.45 kB / 0.5397 GB, free: 13.9 MB / 442.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3434, allocations: 4 kB / 0.5397 GB, free: 13.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3666, allocations: 8.857 MB / 0.5483 GB, free: 11.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.557, allocations: 6.703 kB / 0.5483 GB, free: 11.51 MB / 442.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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: 10.80355975870043]