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.000974/0.000974, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0008205/0.0008205, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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 0.8637/0.8637, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1221/0.1221, allocations: 32.36 MB / 270.4 MB, free: 14.97 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 3.136e-06/3.136e-06, allocations: 0 / 408.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.279e-05, allocations: 2.281 kB / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2648/0.2648, allocations: 129.8 MB / 0.5253 GB, free: 24.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2659, allocations: 1.342 MB / 0.5266 GB, free: 23.8 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.2659, allocations: 0 / 0.5266 GB, free: 23.8 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.2662, allocations: 52.31 kB / 0.5266 GB, free: 23.77 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007212/0.267, allocations: 403.2 kB / 0.527 GB, free: 23.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.2673, allocations: 177.8 kB / 0.5272 GB, free: 23.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.2675, allocations: 184.2 kB / 0.5273 GB, free: 23.4 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.2676, allocations: 4.562 kB / 0.5273 GB, free: 23.4 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.2677, allocations: 106 kB / 0.5274 GB, free: 23.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2678, allocations: 54.3 kB / 0.5275 GB, free: 23.35 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2678, allocations: 6.5 kB / 0.5275 GB, free: 23.35 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007156/0.2686, allocations: 0.5289 MB / 0.528 GB, free: 23.17 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.2686, allocations: 38.36 kB / 0.5281 GB, free: 23.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.2687, allocations: 38.45 kB / 0.5281 GB, free: 23.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.2692, allocations: 425.3 kB / 0.5285 GB, free: 23.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2692, allocations: 0 / 0.5285 GB, free: 23.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2692, allocations: 1.375 kB / 0.5285 GB, free: 23.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2692, allocations: 0 / 0.5285 GB, free: 23.01 MB / 442.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.0004373/0.2697, allocations: 361.7 kB / 0.5288 GB, free: 22.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2697, allocations: 9.844 kB / 0.5289 GB, free: 22.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.2708, allocations: 204 kB / 0.5291 GB, free: 22.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.271, allocations: 149.2 kB / 0.5292 GB, free: 22.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.271, allocations: 12.28 kB / 0.5292 GB, free: 22.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.2711, allocations: 5.5 kB / 0.5292 GB, free: 22.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.2714, allocations: 286.2 kB / 0.5295 GB, free: 22.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2714, allocations: 0 / 0.5295 GB, free: 22.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2714, allocations: 1.812 kB / 0.5295 GB, free: 22.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2714, allocations: 6.375 kB / 0.5295 GB, free: 22.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.2718, allocations: 240 kB / 0.5297 GB, free: 22.23 MB / 442.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.0009396/0.2727, allocations: 0.5427 MB / 0.5302 GB, free: 21.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.273, allocations: 190.5 kB / 0.5304 GB, free: 21.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.2731, allocations: 95.02 kB / 0.5305 GB, free: 21.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.2732, allocations: 16.02 kB / 0.5305 GB, free: 21.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.2732, allocations: 36.92 kB / 0.5306 GB, free: 21.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2732, allocations: 0 / 0.5306 GB, free: 21.68 MB / 442.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.003007/0.2762, allocations: 1.378 MB / 0.5319 GB, free: 20.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.2763, allocations: 54.41 kB / 0.532 GB, free: 20.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.578e-05/0.2763, allocations: 118.2 kB / 0.5321 GB, free: 20.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2763, allocations: 25.7 kB / 0.5321 GB, free: 20.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.2764, allocations: 102.1 kB / 0.5322 GB, free: 20.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.2764, allocations: 63.53 kB / 0.5323 GB, free: 20.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.2765, allocations: 42.36 kB / 0.5323 GB, free: 20.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.186e-05/0.2765, allocations: 334 kB / 0.5326 GB, free: 20.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.2766, allocations: 94.47 kB / 0.5327 GB, free: 20.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2768, allocations: 122.4 kB / 0.5328 GB, free: 20.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.277, allocations: 225.5 kB / 0.533 GB, free: 20.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.277, allocations: 0 / 0.533 GB, free: 20.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003985/0.2774, allocations: 283.7 kB / 0.5333 GB, free: 19.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2774, allocations: 4.875 kB / 0.5333 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.2774, allocations: 3.844 kB / 0.5333 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.2776, allocations: 25.39 kB / 0.5333 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.2778, allocations: 60.8 kB / 0.5334 GB, free: 19.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002234/0.2781, allocations: 0.5355 MB / 0.5339 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2782, allocations: 11.31 kB / 0.5339 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.2782, allocations: 6.469 kB / 0.5339 GB, free: 19.34 MB / 442.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 9.175e-05/0.2783, allocations: 129.6 kB / 0.5341 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.2783, allocations: 13.8 kB / 0.5341 GB, free: 19.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.2788, allocations: 326.3 kB / 0.5344 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.2789, allocations: 1.688 kB / 0.5344 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2789, allocations: 1.125 kB / 0.5344 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2789, allocations: 0 / 0.5344 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.2796, allocations: 0.5857 MB / 0.535 GB, free: 18.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2796, allocations: 8.219 kB / 0.535 GB, free: 18.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.2798, allocations: 46.72 kB / 0.535 GB, free: 18.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.463e-05/0.2798, allocations: 20 kB / 0.535 GB, free: 18.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2799, allocations: 5.75 kB / 0.535 GB, free: 18.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/0.2803, allocations: 1.24 MB / 0.5363 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2803, allocations: 6.344 kB / 0.5363 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.2807, allocations: 451.4 kB / 0.5367 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.2807, allocations: 9.266 kB / 0.5367 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2807, allocations: 5.781 kB / 0.5367 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.2809, allocations: 11.91 kB / 0.5367 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.2809, allocations: 27.59 kB / 0.5367 GB, free: 17.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.2809, allocations: 18.16 kB / 0.5368 GB, free: 17.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.052e-05/0.281, allocations: 84 kB / 0.5368 GB, free: 16.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.281, allocations: 0 / 0.5368 GB, free: 16.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004662/0.2814, allocations: 130.3 kB / 0.537 GB, free: 16.95 MB / 442.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.0004647/0.2819, allocations: 258 kB / 0.5372 GB, free: 16.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.2823, allocations: 226.9 kB / 0.5374 GB, free: 16.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2823, allocations: 1.375 kB / 0.5374 GB, free: 16.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.2825, allocations: 236 kB / 0.5377 GB, free: 16.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2828, allocations: 40.59 kB / 0.5377 GB, free: 16.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.2833, allocations: 447.8 kB / 0.5381 GB, free: 16.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.872e-05/0.2834, allocations: 94.33 kB / 0.5382 GB, free: 16.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2835, allocations: 26.91 kB / 0.5382 GB, free: 16.16 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2835, allocations: 3.938 kB / 0.5382 GB, free: 16.16 MB / 442.7 MB Notification: Performance of Templates: time 0.005/0.2885, allocations: 5.178 MB / 0.5433 GB, free: 15.78 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.012191076762974]