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.001101/0.001101, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001144/0.001144, allocations: 167.6 kB / 24.84 MB, free: 9.293 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.085/1.085, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1438/0.1438, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.472e-06/1.472e-06, allocations: 0 / 348.9 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.377e-05, allocations: 4.281 kB / 348.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3277/0.3277, allocations: 141.1 MB / 490 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3291, allocations: 1.498 MB / 491.5 MB, free: 9.844 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3292, allocations: 3.938 kB / 491.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.3296, allocations: 49.67 kB / 491.5 MB, free: 9.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009276/0.3305, allocations: 401.8 kB / 491.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.331, allocations: 176.5 kB / 492.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3312, allocations: 188.9 kB / 492.3 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.3312, allocations: 7.031 kB / 492.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.3314, allocations: 101.9 kB / 492.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3315, allocations: 55.39 kB / 492.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3316, allocations: 5.469 kB / 492.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.3323, allocations: 0.5339 MB / 493 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.3324, allocations: 30.89 kB / 493 MB, free: 9.238 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.3324, allocations: 37.91 kB / 493 MB, free: 9.234 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.333, allocations: 407.9 kB / 493.4 MB, free: 9.098 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3331, allocations: 0 / 493.4 MB, free: 9.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3331, allocations: 2.281 kB / 493.4 MB, free: 9.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3331, allocations: 4 kB / 493.4 MB, free: 9.094 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.0004585/0.3335, allocations: 456.6 kB / 493.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3336, allocations: 8.844 kB / 493.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.3347, allocations: 216.2 kB / 494.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.3349, allocations: 153.6 kB / 494.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3349, allocations: 9.219 kB / 494.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.3349, allocations: 6.062 kB / 494.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3352, allocations: 244.9 kB / 494.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3352, allocations: 4 kB / 494.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.3352, allocations: 5.406 kB / 494.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3352, allocations: 3.094 kB / 494.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3354, allocations: 128.4 kB / 494.7 MB, free: 8.207 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.0009069/0.3363, allocations: 0.529 MB / 495.2 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3365, allocations: 151.9 kB / 495.3 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.3365, allocations: 68.81 kB / 495.4 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-05/0.3366, allocations: 22.3 kB / 495.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.3366, allocations: 44.77 kB / 495.5 MB, free: 7.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3366, allocations: 0 / 495.5 MB, free: 7.703 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.002577/0.3392, allocations: 1.032 MB / 496.5 MB, free: 7.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.3392, allocations: 57 kB / 496.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.3393, allocations: 171.6 kB / 496.7 MB, free: 6.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3393, allocations: 33.2 kB / 496.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.3394, allocations: 147.6 kB / 496.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.3394, allocations: 69.94 kB / 497 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.3395, allocations: 54.55 kB / 497 MB, free: 6.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.3395, allocations: 0.4919 MB / 497.5 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.3396, allocations: 53.61 kB / 497.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.3397, allocations: 100.2 kB / 497.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3398, allocations: 158 kB / 497.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3398, allocations: 2.219 kB / 497.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002769/0.3401, allocations: 209 kB / 498 MB, free: 5.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3401, allocations: 5.875 kB / 498 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3401, allocations: 0 / 498 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-05/0.3402, allocations: 26.52 kB / 498.1 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.3405, allocations: 60.92 kB / 498.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002132/0.3407, allocations: 0.7937 MB / 498.9 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3408, allocations: 9.922 kB / 498.9 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.3408, allocations: 5.469 kB / 498.9 MB, free: 5.117 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 8.462e-05/0.3409, allocations: 166.1 kB / 499.1 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.341, allocations: 25.94 kB / 499.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.3413, allocations: 253.4 kB / 499.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3413, allocations: 0 / 499.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3413, allocations: 1.969 kB / 499.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3413, allocations: 0 / 499.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.3418, allocations: 0.5585 MB / 499.9 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3418, allocations: 6.625 kB / 499.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.342, allocations: 45.11 kB / 500 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-05/0.3421, allocations: 23.7 kB / 500 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3422, allocations: 8.594 kB / 500 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000557/0.3427, allocations: 1.712 MB / 0.4899 GB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3427, allocations: 3.938 kB / 0.49 GB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.3431, allocations: 443.3 kB / 0.4904 GB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.3431, allocations: 20.75 kB / 0.4904 GB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3431, allocations: 5.906 kB / 0.4904 GB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3433, allocations: 5.219 kB / 0.4904 GB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.3433, allocations: 20.56 kB / 0.4904 GB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.3433, allocations: 15.02 kB / 0.4904 GB, free: 2.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.27e-05/0.3434, allocations: 125.5 kB / 0.4906 GB, free: 2.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3434, allocations: 4 kB / 0.4906 GB, free: 2.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.3438, allocations: 139.2 kB / 0.4907 GB, free: 2.195 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.0004185/0.3442, allocations: 248.3 kB / 0.4909 GB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3444, allocations: 166.4 kB / 0.4911 GB, free: 2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3444, allocations: 2.938 kB / 0.4911 GB, free: 2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3446, allocations: 270.5 kB / 0.4914 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.3449, allocations: 60.33 kB / 0.4914 GB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/0.3456, allocations: 397.9 kB / 0.4918 GB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.3456, allocations: 73.36 kB / 0.4919 GB, free: 1.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.3458, allocations: 57.89 kB / 0.4919 GB, free: 1.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3459, allocations: 124.5 kB / 0.492 GB, free: 1.258 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3459, allocations: 0 / 0.492 GB, free: 1.258 MB / 362.7 MB Notification: Performance of Templates: time 0.008567/0.3545, allocations: 7.247 MB / 0.4991 GB, free: 12.3 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.6976221571676433]