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.0009618/0.0009618, allocations: 80.48 kB / 19.92 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.0008885/0.0008885, allocations: 174.3 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.8756/0.8756, allocations: 158.6 MB / 185 MB, free: 3.043 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.1317/0.1317, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.352e-06/1.352e-06, allocations: 3.938 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.496e-05, allocations: 6.078 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2846/0.2846, allocations: 129.8 MB / 0.524 GB, free: 24.56 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2857, allocations: 1.34 MB / 0.5253 GB, free: 23.7 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.2858, allocations: 0 / 0.5253 GB, free: 23.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.2861, allocations: 48.62 kB / 0.5254 GB, free: 23.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008099/0.2869, allocations: 407 kB / 0.5258 GB, free: 23.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.2873, allocations: 171.5 kB / 0.5259 GB, free: 23.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.2875, allocations: 185.3 kB / 0.5261 GB, free: 23.31 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.2876, allocations: 8.5 kB / 0.5261 GB, free: 23.31 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.2877, allocations: 108.9 kB / 0.5262 GB, free: 23.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2878, allocations: 53.59 kB / 0.5263 GB, free: 23.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2878, allocations: 6.188 kB / 0.5263 GB, free: 23.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008667/0.2887, allocations: 0.5223 MB / 0.5268 GB, free: 23.08 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.2888, allocations: 38.72 kB / 0.5268 GB, free: 23.06 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.2888, allocations: 39.2 kB / 0.5269 GB, free: 23.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.2895, allocations: 424.8 kB / 0.5273 GB, free: 22.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2895, allocations: 0 / 0.5273 GB, free: 22.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2895, allocations: 0 / 0.5273 GB, free: 22.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2895, allocations: 5.219 kB / 0.5273 GB, free: 22.91 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.0004546/0.2899, allocations: 357.1 kB / 0.5276 GB, free: 22.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.29, allocations: 10.08 kB / 0.5276 GB, free: 22.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.29, allocations: 41.06 kB / 0.5277 GB, free: 22.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.2912, allocations: 201.6 kB / 0.5279 GB, free: 22.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.2914, allocations: 147.7 kB / 0.528 GB, free: 22.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2914, allocations: 16.39 kB / 0.528 GB, free: 22.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.2914, allocations: 13.5 kB / 0.528 GB, free: 22.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.2918, allocations: 281.2 kB / 0.5283 GB, free: 22.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2918, allocations: 0 / 0.5283 GB, free: 22.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2918, allocations: 5.469 kB / 0.5283 GB, free: 22.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2918, allocations: 2 kB / 0.5283 GB, free: 22.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.2922, allocations: 236.5 kB / 0.5285 GB, free: 22.1 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.0009549/0.2931, allocations: 0.5766 MB / 0.5291 GB, free: 21.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.2934, allocations: 193.5 kB / 0.5293 GB, free: 21.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2935, allocations: 90.17 kB / 0.5294 GB, free: 21.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.2936, allocations: 11.08 kB / 0.5294 GB, free: 21.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.2936, allocations: 39.84 kB / 0.5294 GB, free: 21.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2936, allocations: 1.375 kB / 0.5294 GB, free: 21.51 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.003012/0.2966, allocations: 1.374 MB / 0.5308 GB, free: 20.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.2967, allocations: 62.97 kB / 0.5308 GB, free: 20.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.2967, allocations: 116 kB / 0.5309 GB, free: 20.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2968, allocations: 27.11 kB / 0.5309 GB, free: 20.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.2968, allocations: 97.95 kB / 0.531 GB, free: 20.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.2968, allocations: 68.91 kB / 0.5311 GB, free: 20.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.2969, allocations: 42.12 kB / 0.5311 GB, free: 20.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.2969, allocations: 324.4 kB / 0.5315 GB, free: 20.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2971, allocations: 95.25 kB / 0.5315 GB, free: 20.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.2972, allocations: 123.4 kB / 0.5317 GB, free: 19.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.2975, allocations: 229.2 kB / 0.5319 GB, free: 19.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2975, allocations: 1.094 kB / 0.5319 GB, free: 19.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003667/0.2979, allocations: 278.4 kB / 0.5321 GB, free: 19.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2979, allocations: 5.562 kB / 0.5322 GB, free: 19.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2979, allocations: 11.5 kB / 0.5322 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.298, allocations: 27.23 kB / 0.5322 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.2982, allocations: 54.02 kB / 0.5322 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001808/0.2984, allocations: 0.5338 MB / 0.5328 GB, free: 19.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2985, allocations: 13.73 kB / 0.5328 GB, free: 19.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2985, allocations: 9.219 kB / 0.5328 GB, free: 19.16 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 8.093e-05/0.2986, allocations: 131.5 kB / 0.5329 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2987, allocations: 9.891 kB / 0.5329 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.2991, allocations: 316.9 kB / 0.5332 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2991, allocations: 6.469 kB / 0.5332 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2991, allocations: 0 / 0.5332 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2991, allocations: 1.25 kB / 0.5332 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.2997, allocations: 0.6161 MB / 0.5338 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.2997, allocations: 1.625 kB / 0.5338 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.2999, allocations: 52.5 kB / 0.5339 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.125e-05/0.3, allocations: 24.75 kB / 0.5339 GB, free: 18.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3, allocations: 5.375 kB / 0.5339 GB, free: 18.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004176/0.3004, allocations: 1.257 MB / 0.5351 GB, free: 17.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3004, allocations: 2.906 kB / 0.5351 GB, free: 17.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.3009, allocations: 462.1 kB / 0.5356 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.3009, allocations: 9.328 kB / 0.5356 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3009, allocations: 9.719 kB / 0.5356 GB, free: 16.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.301, allocations: 11.92 kB / 0.5356 GB, free: 16.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.3011, allocations: 18.58 kB / 0.5356 GB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.3011, allocations: 19.64 kB / 0.5356 GB, free: 16.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.209e-05/0.3011, allocations: 84.23 kB / 0.5357 GB, free: 16.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3011, allocations: 0 / 0.5357 GB, free: 16.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004446/0.3016, allocations: 131.3 kB / 0.5359 GB, free: 16.71 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.0009392/0.3025, allocations: 1.129 MB / 0.537 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.3029, allocations: 237.3 kB / 0.5372 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3029, allocations: 0 / 0.5372 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3031, allocations: 228.3 kB / 0.5374 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3034, allocations: 40.11 kB / 0.5374 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.3051, allocations: 2.083 MB / 0.5395 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.635e-05/0.3052, allocations: 100.3 kB / 0.5396 GB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.3054, allocations: 54.41 kB / 0.5396 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.3055, allocations: 37.42 kB / 0.5397 GB, free: 13.83 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3055, allocations: 4 kB / 0.5397 GB, free: 13.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.3326, allocations: 8.824 MB / 0.5483 GB, free: 11.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.365, allocations: 5.625 kB / 0.5483 GB, free: 11.54 MB / 442.7 MB " [Timeout remaining time 652] (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.450717106461525]