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.002184/0.002184, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002515/0.002515, allocations: 165.1 kB / 23.96 MB, free: 4.164 MB / 14.72 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.604/1.604, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.2279/0.2279, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 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.774e-06/1.774e-06, allocations: 3.938 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.588e-05/4.765e-05, allocations: 6.281 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4385/0.4385, allocations: 131.5 MB / 0.5608 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.4409, allocations: 1.441 MB / 0.5622 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.4409, allocations: 0 / 0.5622 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.4413, allocations: 43.69 kB / 0.5622 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.4424, allocations: 428.6 kB / 0.5626 GB, free: 452 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.443, allocations: 163.4 kB / 0.5628 GB, free: 288 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.4433, allocations: 195.1 kB / 0.563 GB, free: 92 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.4433, allocations: 4 kB / 0.563 GB, free: 88 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.4436, allocations: 116.1 kB / 0.5631 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.4437, allocations: 47.78 kB / 0.5631 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.4438, allocations: 8 kB / 0.5631 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.4449, allocations: 0.5492 MB / 0.5637 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.445, allocations: 27.91 kB / 0.5637 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.4451, allocations: 43.91 kB / 0.5637 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009147/0.446, allocations: 446.9 kB / 0.5642 GB, free: 14.86 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.446, allocations: 0 / 0.5642 GB, free: 14.86 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.446, allocations: 0 / 0.5642 GB, free: 14.86 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.446, allocations: 4 kB / 0.5642 GB, free: 14.86 MB / 478.1 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.0006978/0.4467, allocations: 361.8 kB / 0.5645 GB, free: 14.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4467, allocations: 8.031 kB / 0.5645 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.4492, allocations: 204.6 kB / 0.5647 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.4495, allocations: 141.7 kB / 0.5648 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.4495, allocations: 8.75 kB / 0.5648 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.4495, allocations: 23.83 kB / 0.5649 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.4501, allocations: 274.6 kB / 0.5651 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4502, allocations: 0 / 0.5651 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.4502, allocations: 4 kB / 0.5651 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4502, allocations: 0 / 0.5651 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.4509, allocations: 239.7 kB / 0.5654 GB, free: 13.54 MB / 478.1 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.001941/0.4528, allocations: 0.5516 MB / 0.5659 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.4533, allocations: 187 kB / 0.5661 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.4536, allocations: 92.81 kB / 0.5662 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.4537, allocations: 8 kB / 0.5662 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4537, allocations: 34.56 kB / 0.5662 GB, free: 12.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.4537, allocations: 0 / 0.5662 GB, free: 12.62 MB / 478.1 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.006386/0.4601, allocations: 1.389 MB / 0.5676 GB, free: 11.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.4602, allocations: 55.41 kB / 0.5676 GB, free: 11.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4603, allocations: 121.7 kB / 0.5677 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.4603, allocations: 29.7 kB / 0.5678 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.4604, allocations: 100.4 kB / 0.5679 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.4605, allocations: 67.42 kB / 0.5679 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4606, allocations: 41.7 kB / 0.568 GB, free: 10.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4607, allocations: 322.8 kB / 0.5683 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.461, allocations: 91.89 kB / 0.5684 GB, free: 10.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.4613, allocations: 127.4 kB / 0.5685 GB, free: 10.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.4618, allocations: 218.5 kB / 0.5687 GB, free: 9.953 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4618, allocations: 7.938 kB / 0.5687 GB, free: 9.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007233/0.4625, allocations: 286.2 kB / 0.569 GB, free: 9.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4625, allocations: 4 kB / 0.569 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.4626, allocations: 4.078 kB / 0.569 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.4627, allocations: 28.78 kB / 0.569 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.4632, allocations: 59.84 kB / 0.5691 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004558/0.4637, allocations: 0.5329 MB / 0.5696 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.464, allocations: 4.031 kB / 0.5696 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.464, allocations: 16.86 kB / 0.5696 GB, free: 8.98 MB / 478.1 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 0.000151/0.4642, allocations: 130.5 kB / 0.5697 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.4642, allocations: 11.95 kB / 0.5697 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/0.4651, allocations: 311.3 kB / 0.57 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4651, allocations: 4 kB / 0.57 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4651, allocations: 4 kB / 0.57 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4651, allocations: 0 / 0.57 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.4663, allocations: 0.5858 MB / 0.5706 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4663, allocations: 0 / 0.5706 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.4668, allocations: 52.81 kB / 0.5707 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.189e-05/0.4669, allocations: 20.84 kB / 0.5707 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.467, allocations: 16.03 kB / 0.5707 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.4681, allocations: 1.232 MB / 0.5719 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4681, allocations: 4.031 kB / 0.5719 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.469, allocations: 454.7 kB / 0.5723 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.4691, allocations: 11.98 kB / 0.5724 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.4691, allocations: 0 / 0.5724 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.4695, allocations: 15.98 kB / 0.5724 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.4695, allocations: 19.84 kB / 0.5724 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.4695, allocations: 12 kB / 0.5724 GB, free: 5.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.239e-05/0.4696, allocations: 91.27 kB / 0.5725 GB, free: 5.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4696, allocations: 0 / 0.5725 GB, free: 5.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005604/0.4702, allocations: 139.6 kB / 0.5726 GB, free: 5.684 MB / 478.1 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.0007798/0.4709, allocations: 258.8 kB / 0.5729 GB, free: 5.422 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007085/0.4717, allocations: 237.8 kB / 0.5731 GB, free: 5.195 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4717, allocations: 0 / 0.5731 GB, free: 5.195 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.4721, allocations: 228.6 kB / 0.5733 GB, free: 4.961 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.4726, allocations: 45.05 kB / 0.5734 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009181/0.4735, allocations: 411.1 kB / 0.5737 GB, free: 4.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.4736, allocations: 93.95 kB / 0.5738 GB, free: 4.375 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.4739, allocations: 53.67 kB / 0.5739 GB, free: 4.324 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.474, allocations: 24.48 kB / 0.5739 GB, free: 4.301 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.474, allocations: 4 kB / 0.5739 GB, free: 4.297 MB / 478.1 MB Notification: Performance of Templates: time 0.01275/0.4868, allocations: 6.298 MB / 0.5801 GB, free: 14.02 MB / 494.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] 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","/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: 5.55309209600091]