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.0009585/0.0009585, 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.001038/0.001038, allocations: 169.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.9051/0.9051, allocations: 158.6 MB / 185 MB, free: 3.023 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.1233/0.1233, 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.392e-06/1.392e-06, allocations: 3.938 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.202e-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.272/0.272, allocations: 129.8 MB / 0.524 GB, free: 24.35 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2735, allocations: 1.34 MB / 0.5253 GB, free: 23.6 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.2735, allocations: 0.9688 kB / 0.5253 GB, free: 23.6 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004923/0.274, allocations: 50.33 kB / 0.5254 GB, free: 23.58 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007403/0.2748, allocations: 409.4 kB / 0.5258 GB, free: 23.37 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.2751, allocations: 170.1 kB / 0.5259 GB, free: 23.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.2753, allocations: 188.3 kB / 0.5261 GB, free: 23.21 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.2753, allocations: 4.219 kB / 0.5261 GB, free: 23.21 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2755, allocations: 109.3 kB / 0.5262 GB, free: 23.16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2756, allocations: 54.72 kB / 0.5263 GB, free: 23.15 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.2756, allocations: 5.719 kB / 0.5263 GB, free: 23.15 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006748/0.2763, allocations: 0.5265 MB / 0.5268 GB, free: 22.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.2763, allocations: 37.66 kB / 0.5268 GB, free: 22.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.2764, allocations: 35.55 kB / 0.5269 GB, free: 22.95 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.2769, allocations: 428.3 kB / 0.5273 GB, free: 22.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2769, allocations: 1.094 kB / 0.5273 GB, free: 22.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2769, allocations: 0 / 0.5273 GB, free: 22.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.2769, allocations: 0 / 0.5273 GB, free: 22.81 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.0004319/0.2774, allocations: 355 kB / 0.5276 GB, free: 22.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2774, allocations: 8.625 kB / 0.5276 GB, free: 22.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.2774, allocations: 45.05 kB / 0.5277 GB, free: 22.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.2785, allocations: 204.2 kB / 0.5279 GB, free: 22.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2787, allocations: 152.8 kB / 0.528 GB, free: 22.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2787, allocations: 4.312 kB / 0.528 GB, free: 22.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.2787, allocations: 10.81 kB / 0.528 GB, free: 22.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.2791, allocations: 286.2 kB / 0.5283 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2791, allocations: 0 / 0.5283 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.2791, allocations: 1.312 kB / 0.5283 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2791, allocations: 10.67 kB / 0.5283 GB, free: 22.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.2795, allocations: 242.5 kB / 0.5285 GB, free: 21.99 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.0009525/0.2804, allocations: 0.5735 MB / 0.5291 GB, free: 21.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.2807, allocations: 183.4 kB / 0.5293 GB, free: 21.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2808, allocations: 97.03 kB / 0.5294 GB, free: 21.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.624e-05/0.2809, allocations: 18.33 kB / 0.5294 GB, free: 21.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.2809, allocations: 39.97 kB / 0.5294 GB, free: 21.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.2809, allocations: 0 / 0.5294 GB, free: 21.4 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.002811/0.2837, allocations: 1.375 MB / 0.5308 GB, free: 20.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.2837, allocations: 56.69 kB / 0.5308 GB, free: 20.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.2838, allocations: 113.4 kB / 0.5309 GB, free: 20.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2838, allocations: 30.95 kB / 0.5309 GB, free: 20.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.2838, allocations: 92.84 kB / 0.531 GB, free: 20.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.2838, allocations: 74.14 kB / 0.5311 GB, free: 20.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2839, allocations: 46.47 kB / 0.5312 GB, free: 20.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.2839, allocations: 320.6 kB / 0.5315 GB, free: 19.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2841, allocations: 91.31 kB / 0.5315 GB, free: 19.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2842, allocations: 121.6 kB / 0.5317 GB, free: 19.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.2845, allocations: 226.2 kB / 0.5319 GB, free: 19.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2845, allocations: 7.156 kB / 0.5319 GB, free: 19.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003454/0.2848, allocations: 288.6 kB / 0.5322 GB, free: 19.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2848, allocations: 5.25 kB / 0.5322 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2848, allocations: 5.406 kB / 0.5322 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.161e-05/0.2849, allocations: 20.72 kB / 0.5322 GB, free: 19.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.2851, allocations: 56.69 kB / 0.5322 GB, free: 19.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001641/0.2853, allocations: 0.5384 MB / 0.5328 GB, free: 19.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.2854, allocations: 7.828 kB / 0.5328 GB, free: 19.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.2854, allocations: 10.91 kB / 0.5328 GB, free: 19.06 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 6.933e-05/0.2855, allocations: 130.1 kB / 0.5329 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.2855, allocations: 9.984 kB / 0.5329 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.2859, allocations: 320.5 kB / 0.5332 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2859, allocations: 2.281 kB / 0.5332 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2859, allocations: 0 / 0.5332 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2859, allocations: 0 / 0.5332 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.2865, allocations: 0.6173 MB / 0.5338 GB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2865, allocations: 1.188 kB / 0.5338 GB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.2867, allocations: 55.66 kB / 0.5339 GB, free: 18.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.2e-05/0.2868, allocations: 23.94 kB / 0.5339 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2868, allocations: 10.23 kB / 0.5339 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003476/0.2871, allocations: 1.254 MB / 0.5351 GB, free: 17.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2871, allocations: 0 / 0.5351 GB, free: 17.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.2875, allocations: 457 kB / 0.5356 GB, free: 16.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.2876, allocations: 8.266 kB / 0.5356 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2876, allocations: 6.188 kB / 0.5356 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.2877, allocations: 12.25 kB / 0.5356 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.2877, allocations: 24.56 kB / 0.5356 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2878, allocations: 13.41 kB / 0.5356 GB, free: 16.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.851e-05/0.2878, allocations: 91.47 kB / 0.5357 GB, free: 16.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2878, allocations: 0 / 0.5357 GB, free: 16.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.2881, allocations: 133 kB / 0.5359 GB, free: 16.61 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.0008517/0.2889, allocations: 1.132 MB / 0.537 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.2893, allocations: 233.5 kB / 0.5372 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2893, allocations: 1.312 kB / 0.5372 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2895, allocations: 226.6 kB / 0.5374 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.2898, allocations: 45.06 kB / 0.5374 GB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.2912, allocations: 2.079 MB / 0.5395 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.2913, allocations: 99.45 kB / 0.5396 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.2914, allocations: 53.86 kB / 0.5396 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.003e-05/0.2915, allocations: 44.55 kB / 0.5397 GB, free: 13.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2915, allocations: 0 / 0.5397 GB, free: 13.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.3129, allocations: 8.853 MB / 0.5483 GB, free: 11.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.022, allocations: 7.953 kB / 0.5483 GB, free: 11.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.042951570823789]