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.001007/0.001007, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.0009558/0.0009558, allocations: 171.3 kB / 24.91 MB, free: 9.227 MB / 18.57 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 0.9809/0.9809, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.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.2467/0.2467, allocations: 34.26 MB / 296.1 MB, free: 0.7383 MB / 266.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.442e-06/1.442e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.803e-05, allocations: 3.078 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2986/0.2987, allocations: 144.9 MB / 470.2 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.3, allocations: 1.625 MB / 471.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.3, allocations: 3.938 kB / 471.8 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.3003, allocations: 49.34 kB / 471.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.3011, allocations: 413.9 kB / 472.2 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.3014, allocations: 176.7 kB / 472.4 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3016, allocations: 188.6 kB / 472.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.3016, allocations: 6.875 kB / 472.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3018, allocations: 107.5 kB / 472.7 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.3019, allocations: 50.52 kB / 472.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3019, allocations: 5.375 kB / 472.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.3026, allocations: 0.558 MB / 473.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.3026, allocations: 39.23 kB / 473.4 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.3027, allocations: 41.12 kB / 473.4 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.3031, allocations: 421.8 kB / 473.8 MB, free: 12.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3031, allocations: 0 / 473.8 MB, free: 12.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3031, allocations: 0 / 473.8 MB, free: 12.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3031, allocations: 0 / 473.8 MB, free: 12.35 MB / 410.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.000324/0.3035, allocations: 341.2 kB / 474.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.3035, allocations: 11.41 kB / 474.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3045, allocations: 259 kB / 474.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3047, allocations: 131.3 kB / 474.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.3047, allocations: 4.766 kB / 474.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.3047, allocations: 15.44 kB / 474.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3049, allocations: 239.5 kB / 474.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.3049, allocations: 0 / 474.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3049, allocations: 3.125 kB / 474.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3049, allocations: 2.812 kB / 474.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3051, allocations: 99.69 kB / 474.9 MB, free: 11.75 MB / 410.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.0006738/0.3058, allocations: 363.8 kB / 475.3 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3059, allocations: 122.4 kB / 475.4 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.3059, allocations: 55.86 kB / 475.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.363e-05/0.306, allocations: 14.53 kB / 475.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.306, allocations: 39.09 kB / 475.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.306, allocations: 0 / 475.5 MB, free: 11.51 MB / 410.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.002097/0.3081, allocations: 1.021 MB / 476.5 MB, free: 11.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.309e-05/0.3081, allocations: 51.41 kB / 476.5 MB, free: 11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.705e-05/0.3082, allocations: 115.1 kB / 476.7 MB, free: 10.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3082, allocations: 34.11 kB / 476.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.3082, allocations: 103.7 kB / 476.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.3082, allocations: 73.78 kB / 476.9 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.3083, allocations: 40 kB / 476.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.696e-05/0.3083, allocations: 324.1 kB / 477.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.3084, allocations: 35.92 kB / 477.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.3084, allocations: 75.64 kB / 477.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3085, allocations: 142.5 kB / 477.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3085, allocations: 0 / 477.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001982/0.3087, allocations: 176 kB / 477.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3087, allocations: 6.438 kB / 477.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3087, allocations: 7.062 kB / 477.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.451e-05/0.3088, allocations: 18.8 kB / 477.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3091, allocations: 69.5 kB / 477.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007563/0.3167, allocations: 1.841 MB / 479.6 MB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3168, allocations: 7.828 kB / 479.6 MB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.3168, allocations: 9.094 kB / 479.6 MB, free: 8.754 MB / 410.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.155e-05/0.3169, allocations: 132.8 kB / 479.7 MB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.3169, allocations: 15.2 kB / 479.7 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.3171, allocations: 201.9 kB / 479.9 MB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3171, allocations: 6.594 kB / 479.9 MB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.3171, allocations: 0 / 479.9 MB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3171, allocations: 1.969 kB / 479.9 MB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.3175, allocations: 398.1 kB / 480.3 MB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3175, allocations: 0 / 480.3 MB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3177, allocations: 61 kB / 480.4 MB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-05/0.3178, allocations: 24.91 kB / 480.4 MB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3178, allocations: 13.98 kB / 480.4 MB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002864/0.3181, allocations: 1.147 MB / 481.6 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3181, allocations: 6.219 kB / 481.6 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3183, allocations: 349.5 kB / 481.9 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.3183, allocations: 6.891 kB / 481.9 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3184, allocations: 8.891 kB / 481.9 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3185, allocations: 8.969 kB / 482 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.3185, allocations: 18.28 kB / 482 MB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.3185, allocations: 11.89 kB / 482 MB, free: 6.988 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.227e-05/0.3185, allocations: 19.81 kB / 482 MB, free: 6.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3185, allocations: 0 / 482 MB, free: 6.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.3188, allocations: 135.4 kB / 482.1 MB, free: 6.957 MB / 410.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.0003748/0.3192, allocations: 234.7 kB / 482.4 MB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3195, allocations: 265.4 kB / 482.6 MB, free: 6.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3195, allocations: 0 / 482.6 MB, free: 6.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3196, allocations: 199.8 kB / 482.8 MB, free: 6.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.3198, allocations: 55.45 kB / 482.9 MB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.3204, allocations: 385 kB / 483.2 MB, free: 6.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.3204, allocations: 71.09 kB / 483.3 MB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.3206, allocations: 48.53 kB / 483.4 MB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.3208, allocations: 104 kB / 483.5 MB, free: 6.18 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3208, allocations: 1.203 kB / 483.5 MB, free: 6.18 MB / 410.7 MB Notification: Performance of Templates: time 0.007396/0.3282, allocations: 7.27 MB / 490.7 MB, free: 3.98 MB / 410.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 -s gbode -gbm=radauIIA3 -emit_protected -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.3494198881089687]