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.001002/0.001002, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002351, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009705/0.0009705, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009649/0.001935, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1021/1.112, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2629/0.2629, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02697/0.2898, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.621e-05, allocations: 3.859 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1283/0.1284, allocations: 145.3 MB / 437.9 MB, free: 4.445 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1297, allocations: 1.632 MB / 439.5 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.1297, allocations: 0 / 439.5 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.13, allocations: 51.73 kB / 439.6 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008495/0.1308, allocations: 417.6 kB / 440 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.1313, allocations: 167.4 kB / 440.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.1315, allocations: 187.2 kB / 440.3 MB, free: 1.996 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.1315, allocations: 4 kB / 440.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1317, allocations: 115.6 kB / 440.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1319, allocations: 51.86 kB / 440.5 MB, free: 1.828 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1319, allocations: 4 kB / 440.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.133, allocations: 0.5688 MB / 441.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.133, allocations: 27.92 kB / 441.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.133, allocations: 31.94 kB / 441.1 MB, free: 1.195 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1334, allocations: 363 kB / 441.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.1334, allocations: 0 / 441.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1334, allocations: 0 / 441.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1334, allocations: 0 / 441.5 MB, free: 0.8398 MB / 426.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.0003987/0.1338, allocations: 389.2 kB / 441.9 MB, free: 448 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1339, allocations: 8.031 kB / 441.9 MB, free: 440 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009562/0.1348, allocations: 337.9 kB / 442.2 MB, free: 84 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1726/0.3074, allocations: 119 kB / 442.3 MB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3074, allocations: 9.594 kB / 442.3 MB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.3075, allocations: 9.125 kB / 442.4 MB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.3078, allocations: 241 kB / 442.6 MB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3078, allocations: 0 / 442.6 MB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.3078, allocations: 7 kB / 442.6 MB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3078, allocations: 2.188 kB / 442.6 MB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.308, allocations: 95.7 kB / 442.7 MB, free: 8.152 MB / 426.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.0008445/0.3089, allocations: 366.3 kB / 443 MB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.3091, allocations: 123 kB / 443.2 MB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.3091, allocations: 55.02 kB / 443.2 MB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.079e-05/0.3092, allocations: 11.91 kB / 443.2 MB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3092, allocations: 44.94 kB / 443.3 MB, free: 7.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.3092, allocations: 0 / 443.3 MB, free: 7.918 MB / 426.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.002052/0.3113, allocations: 1.007 MB / 444.3 MB, free: 7.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.555e-05/0.3113, allocations: 55.38 kB / 444.3 MB, free: 7.473 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.019e-05/0.3113, allocations: 116 kB / 444.5 MB, free: 7.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3113, allocations: 30.33 kB / 444.5 MB, free: 7.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.3114, allocations: 99.88 kB / 444.6 MB, free: 7.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3114, allocations: 76.53 kB / 444.7 MB, free: 7.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3115, allocations: 50.28 kB / 444.7 MB, free: 7.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.3115, allocations: 321.2 kB / 445 MB, free: 6.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.3115, allocations: 40.97 kB / 445.1 MB, free: 6.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.3116, allocations: 72.92 kB / 445.1 MB, free: 6.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.3117, allocations: 144.8 kB / 445.3 MB, free: 6.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3117, allocations: 1.094 kB / 445.3 MB, free: 6.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001971/0.3119, allocations: 174.4 kB / 445.4 MB, free: 6.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3119, allocations: 6.906 kB / 445.4 MB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3119, allocations: 0 / 445.4 MB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-05/0.312, allocations: 20 kB / 445.5 MB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.3123, allocations: 77.56 kB / 445.5 MB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004809/0.3128, allocations: 1.235 MB / 446.8 MB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3129, allocations: 8.703 kB / 446.8 MB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3129, allocations: 8.703 kB / 446.8 MB, free: 5.59 MB / 426.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/0.3129, allocations: 123.9 kB / 446.9 MB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.313, allocations: 19.98 kB / 446.9 MB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.3132, allocations: 206.9 kB / 447.1 MB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3132, allocations: 1 kB / 447.1 MB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.3132, allocations: 0 / 447.1 MB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3132, allocations: 4.906 kB / 447.1 MB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.3136, allocations: 395 kB / 447.5 MB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3136, allocations: 0 / 447.5 MB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.3138, allocations: 67.72 kB / 447.6 MB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.3138, allocations: 9.984 kB / 447.6 MB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.885e-05/0.3139, allocations: 21.41 kB / 447.6 MB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3139, allocations: 9.016 kB / 447.6 MB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002928/0.3142, allocations: 1.163 MB / 448.8 MB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3142, allocations: 0 / 448.8 MB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.3144, allocations: 347.8 kB / 449.1 MB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3145, allocations: 4.641 kB / 449.1 MB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3146, allocations: 12.41 kB / 449.2 MB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.3146, allocations: 21.89 kB / 449.2 MB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3146, allocations: 5 kB / 449.2 MB, free: 3.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.245e-05/0.3146, allocations: 14 kB / 449.2 MB, free: 3.875 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3146, allocations: 1.125 kB / 449.2 MB, free: 3.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000298/0.3149, allocations: 129.7 kB / 449.3 MB, free: 3.875 MB / 426.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.0003421/0.3153, allocations: 222.8 kB / 449.5 MB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.3155, allocations: 258.5 kB / 449.8 MB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3155, allocations: 0.9688 kB / 449.8 MB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3156, allocations: 202.1 kB / 450 MB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.3159, allocations: 70.5 kB / 450.1 MB, free: 3.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3177, allocations: 361.6 kB / 450.4 MB, free: 3.352 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.3177, allocations: 72.78 kB / 450.5 MB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.3179, allocations: 50.77 kB / 450.5 MB, free: 3.277 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3181, allocations: 98.47 kB / 450.6 MB, free: 3.227 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3181, allocations: 0.9688 kB / 450.6 MB, free: 3.227 MB / 426.7 MB Notification: Performance of Templates: time 0.007211/0.3253, allocations: 6.726 MB / 457.4 MB, free: 2.918 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2738739317283034]