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.0009932/0.0009932, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001011/0.001011, allocations: 169 kB / 23.8 MB, free: 0.7695 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 1.048/1.048, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.152/0.152, allocations: 32.38 MB / 270.4 MB, free: 14.7 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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.776e-05, allocations: 6.312 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3051/0.3052, allocations: 143.8 MB / 491.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3065, allocations: 1.513 MB / 493 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.3065, allocations: 3.938 kB / 493 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.3069, allocations: 54.61 kB / 493.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008508/0.3078, allocations: 399.8 kB / 493.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.3081, allocations: 172.1 kB / 493.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3084, allocations: 186.9 kB / 493.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.3084, allocations: 10.3 kB / 493.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3085, allocations: 100.7 kB / 493.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3087, allocations: 56.36 kB / 494 MB, free: 8.883 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3087, allocations: 5.438 kB / 494 MB, free: 8.883 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006512/0.3093, allocations: 0.5289 MB / 494.5 MB, free: 8.715 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.3094, allocations: 33.42 kB / 494.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.3094, allocations: 39.17 kB / 494.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.3099, allocations: 408.6 kB / 495 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3099, allocations: 0 / 495 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3099, allocations: 3.938 kB / 495 MB, free: 8.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3099, allocations: 0 / 495 MB, free: 8.559 MB / 362.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.00052/0.3104, allocations: 456.2 kB / 495.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3105, allocations: 12.3 kB / 495.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.3116, allocations: 217.3 kB / 495.6 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.3118, allocations: 150.1 kB / 495.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3118, allocations: 13.81 kB / 495.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.3118, allocations: 9.5 kB / 495.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.3121, allocations: 254 kB / 496.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3121, allocations: 4 kB / 496.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.3121, allocations: 3.562 kB / 496.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3121, allocations: 3.5 kB / 496.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.3123, allocations: 155.9 kB / 496.2 MB, free: 7.68 MB / 362.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.0008898/0.3132, allocations: 0.5604 MB / 496.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3135, allocations: 175.2 kB / 496.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.3136, allocations: 84.84 kB / 497 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.833e-05/0.3137, allocations: 20.42 kB / 497.1 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3137, allocations: 39.42 kB / 497.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.3137, allocations: 0 / 497.1 MB, free: 7.152 MB / 362.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.002671/0.3163, allocations: 1.196 MB / 498.3 MB, free: 6.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.3164, allocations: 54.59 kB / 498.3 MB, free: 6.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.599e-05/0.3164, allocations: 176.1 kB / 498.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3164, allocations: 25.7 kB / 498.5 MB, free: 6.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.3165, allocations: 145 kB / 498.7 MB, free: 6.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.3165, allocations: 78.19 kB / 498.8 MB, free: 6.105 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.3166, allocations: 47.3 kB / 498.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.3166, allocations: 0.4946 MB / 499.3 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.3167, allocations: 66.56 kB / 499.4 MB, free: 5.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3168, allocations: 108.6 kB / 499.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.317, allocations: 190 kB / 499.7 MB, free: 5.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.317, allocations: 0 / 499.7 MB, free: 5.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002968/0.3173, allocations: 246.6 kB / 499.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3173, allocations: 5.469 kB / 499.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3173, allocations: 2.688 kB / 499.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001084/0.3174, allocations: 23.98 kB / 499.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3176, allocations: 55.38 kB / 500 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000197/0.3178, allocations: 0.8013 MB / 0.489 GB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3179, allocations: 9.656 kB / 0.4891 GB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.318, allocations: 9.953 kB / 0.4891 GB, free: 4.531 MB / 362.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.308e-05/0.318, allocations: 172.8 kB / 0.4892 GB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.3181, allocations: 24.16 kB / 0.4892 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.3185, allocations: 280.8 kB / 0.4895 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3185, allocations: 2.656 kB / 0.4895 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3185, allocations: 3.562 kB / 0.4895 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3185, allocations: 0 / 0.4895 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.319, allocations: 0.5949 MB / 0.4901 GB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.319, allocations: 8.031 kB / 0.4901 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.3192, allocations: 52.08 kB / 0.4902 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.673e-05/0.3193, allocations: 20.55 kB / 0.4902 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.3193, allocations: 6.344 kB / 0.4902 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004591/0.3198, allocations: 1.729 MB / 0.4919 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3198, allocations: 6.844 kB / 0.4919 GB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.3202, allocations: 479.6 kB / 0.4923 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.3202, allocations: 6.797 kB / 0.4923 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3202, allocations: 6.188 kB / 0.4924 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3204, allocations: 10.02 kB / 0.4924 GB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.3204, allocations: 24.25 kB / 0.4924 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3204, allocations: 9.5 kB / 0.4924 GB, free: 1.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.497e-05/0.3204, allocations: 132.2 kB / 0.4925 GB, free: 1.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3204, allocations: 4.031 kB / 0.4925 GB, free: 1.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.3208, allocations: 130.6 kB / 0.4926 GB, free: 1.57 MB / 362.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.0004132/0.3212, allocations: 252.7 kB / 0.4929 GB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.3215, allocations: 215.7 kB / 0.4931 GB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3215, allocations: 0 / 0.4931 GB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.3217, allocations: 288.2 kB / 0.4934 GB, free: 1.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.322, allocations: 50.95 kB / 0.4934 GB, free: 1.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007624/0.3227, allocations: 399.4 kB / 0.4938 GB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.3228, allocations: 77.69 kB / 0.4939 GB, free: 0.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.3229, allocations: 59.95 kB / 0.4939 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.323, allocations: 24.11 kB / 0.494 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.323, allocations: 0 / 0.494 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of Templates: time 0.007993/0.331, allocations: 7.094 MB / 0.5009 GB, free: 12.03 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] 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","",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.610249598044902]