Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001484/0.001484, 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.001999/0.001999, allocations: 170.5 kB / 24.91 MB, free: 9.211 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 1.048/1.048, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.051e-05, allocations: 6.875 kB / 323.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3218/0.3218, allocations: 144.9 MB / 468.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3234, allocations: 1.63 MB / 469.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.3235, allocations: 0 / 469.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.3239, allocations: 40.27 kB / 469.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.3249, allocations: 417.8 kB / 470.2 MB, free: 13.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.3254, allocations: 178.3 kB / 470.4 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3256, allocations: 184.8 kB / 470.6 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.3257, allocations: 13.89 kB / 470.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.3259, allocations: 106.7 kB / 470.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.326, allocations: 47.86 kB / 470.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.326, allocations: 5.219 kB / 470.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.327, allocations: 0.5581 MB / 471.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.3271, allocations: 40.36 kB / 471.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.3271, allocations: 38.44 kB / 471.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.3278, allocations: 426.1 kB / 471.8 MB, free: 13.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3278, allocations: 1.203 kB / 471.8 MB, free: 13.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3278, allocations: 0 / 471.8 MB, free: 13.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3278, allocations: 0 / 471.8 MB, free: 13.15 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.000404/0.3282, allocations: 337.4 kB / 472.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3282, allocations: 12.31 kB / 472.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.3296, allocations: 255.9 kB / 472.4 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.3298, allocations: 133.3 kB / 472.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3298, allocations: 6.125 kB / 472.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.3298, allocations: 12.88 kB / 472.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.3301, allocations: 235.8 kB / 472.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3301, allocations: 0 / 472.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3301, allocations: 6.156 kB / 472.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3301, allocations: 0 / 472.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.3303, allocations: 108.1 kB / 472.9 MB, free: 12.56 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.0008722/0.3312, allocations: 361.2 kB / 473.2 MB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3314, allocations: 119.4 kB / 473.3 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.3314, allocations: 60.48 kB / 473.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.471e-05/0.3315, allocations: 11.14 kB / 473.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3315, allocations: 36.94 kB / 473.4 MB, free: 12.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3315, allocations: 0 / 473.4 MB, free: 12.32 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.002702/0.3342, allocations: 1.027 MB / 474.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.557e-05/0.3343, allocations: 54.34 kB / 474.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.3343, allocations: 115.8 kB / 474.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3343, allocations: 25.7 kB / 474.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.3344, allocations: 110.7 kB / 474.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.3344, allocations: 67.75 kB / 474.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.3345, allocations: 44.69 kB / 474.9 MB, free: 11.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.027e-05/0.3345, allocations: 324.3 kB / 475.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.3346, allocations: 36 kB / 475.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.3346, allocations: 74.34 kB / 475.3 MB, free: 11.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3348, allocations: 145.2 kB / 475.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3348, allocations: 0 / 475.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002619/0.335, allocations: 176.5 kB / 475.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3351, allocations: 7.719 kB / 475.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3351, allocations: 6.875 kB / 475.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.3352, allocations: 15.94 kB / 475.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.3355, allocations: 72.86 kB / 475.7 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.3455, allocations: 1.838 MB / 477.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.3457, allocations: 10.75 kB / 477.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.3457, allocations: 7.906 kB / 477.6 MB, free: 9.547 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 8.462e-05/0.3458, allocations: 126.6 kB / 477.7 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.3459, allocations: 17.3 kB / 477.7 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.3462, allocations: 203.2 kB / 477.9 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3462, allocations: 6.312 kB / 477.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3462, allocations: 0 / 477.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3462, allocations: 2.578 kB / 477.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.3467, allocations: 398.2 kB / 478.3 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3467, allocations: 3.766 kB / 478.3 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.347, allocations: 58.08 kB / 478.4 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-05/0.347, allocations: 25.3 kB / 478.4 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3471, allocations: 9.062 kB / 478.4 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003697/0.3474, allocations: 1.155 MB / 479.6 MB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3474, allocations: 2.781 kB / 479.6 MB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.3478, allocations: 351.6 kB / 479.9 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.3478, allocations: 7.141 kB / 479.9 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.3478, allocations: 6.125 kB / 479.9 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.348, allocations: 10.05 kB / 479.9 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.348, allocations: 17.38 kB / 479.9 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.348, allocations: 10.64 kB / 480 MB, free: 7.781 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.673e-05/0.3481, allocations: 17.06 kB / 480 MB, free: 7.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3481, allocations: 0 / 480 MB, free: 7.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000452/0.3485, allocations: 137.1 kB / 480.1 MB, free: 7.75 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.0004699/0.349, allocations: 248.3 kB / 480.3 MB, free: 7.645 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.3493, allocations: 253.7 kB / 480.6 MB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3493, allocations: 3.438 kB / 480.6 MB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3494, allocations: 198.6 kB / 480.8 MB, free: 7.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.3497, allocations: 55.45 kB / 480.8 MB, free: 7.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.3505, allocations: 392.3 kB / 481.2 MB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.3506, allocations: 73 kB / 481.3 MB, free: 7.051 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.3508, allocations: 51.02 kB / 481.4 MB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.351, allocations: 101.5 kB / 481.5 MB, free: 6.969 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.351, allocations: 0 / 481.5 MB, free: 6.969 MB / 410.7 MB Notification: Performance of Templates: time 0.008178/0.3592, allocations: 7.262 MB / 488.7 MB, free: 5.066 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.393661738373339]