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.001464/0.001464, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001818/0.001818, allocations: 169 kB / 24.25 MB, free: 316 kB / 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.8928/0.8928, allocations: 158.6 MB / 186 MB, free: 2.926 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.1557/0.1557, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.843e-06/1.843e-06, allocations: 3.938 kB / 347.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.227e-05, allocations: 5.406 kB / 347.7 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2979/0.298, allocations: 143.5 MB / 491.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2991, allocations: 1.512 MB / 492.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.2992, allocations: 0 / 492.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.2995, allocations: 49.62 kB / 492.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007777/0.3003, allocations: 401.6 kB / 493.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.3007, allocations: 172.9 kB / 493.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.3009, allocations: 193.1 kB / 493.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.3009, allocations: 2.594 kB / 493.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.301, allocations: 105.2 kB / 493.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3012, allocations: 61 kB / 493.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3012, allocations: 5.656 kB / 493.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.3019, allocations: 0.5148 MB / 494.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.302, allocations: 39.34 kB / 494.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.302, allocations: 39.2 kB / 494.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.3026, allocations: 414.3 kB / 494.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3026, allocations: 0 / 494.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3026, allocations: 2.656 kB / 494.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3026, allocations: 0 / 494.7 MB, free: 8.355 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.0004079/0.303, allocations: 459.9 kB / 495.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.303, allocations: 8.188 kB / 495.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.3042, allocations: 218.1 kB / 495.4 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3044, allocations: 148.6 kB / 495.5 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3044, allocations: 6.125 kB / 495.5 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.3044, allocations: 14.08 kB / 495.5 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.3047, allocations: 258.4 kB / 495.8 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3047, allocations: 3.984 kB / 495.8 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.3047, allocations: 7.562 kB / 495.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3047, allocations: 2.812 kB / 495.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.305, allocations: 155.1 kB / 495.9 MB, free: 7.473 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.0009756/0.3059, allocations: 0.5609 MB / 496.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.3062, allocations: 175.2 kB / 496.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.3063, allocations: 80.12 kB / 496.7 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.3064, allocations: 19.89 kB / 496.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3064, allocations: 40.39 kB / 496.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.3064, allocations: 0 / 496.8 MB, free: 6.941 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.002875/0.3093, allocations: 1.188 MB / 498 MB, free: 6.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.3093, allocations: 53.75 kB / 498 MB, free: 6.301 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.3094, allocations: 173.1 kB / 498.2 MB, free: 6.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3094, allocations: 36.25 kB / 498.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.3095, allocations: 142.7 kB / 498.4 MB, free: 5.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.3095, allocations: 72.28 kB / 498.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.3096, allocations: 53.75 kB / 498.5 MB, free: 5.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.3096, allocations: 0.498 MB / 499 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/0.3097, allocations: 63.03 kB / 499.1 MB, free: 5.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3098, allocations: 109 kB / 499.2 MB, free: 5.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.31, allocations: 185.2 kB / 499.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.31, allocations: 4 kB / 499.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003193/0.3104, allocations: 249.1 kB / 499.6 MB, free: 5.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3104, allocations: 5.969 kB / 499.6 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3104, allocations: 3.031 kB / 499.6 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.3105, allocations: 20.11 kB / 499.6 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.3107, allocations: 59.27 kB / 499.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002108/0.3109, allocations: 0.7991 MB / 0.4888 GB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.3111, allocations: 13.06 kB / 0.4888 GB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.3111, allocations: 9.281 kB / 0.4888 GB, free: 4.32 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.902e-05/0.3112, allocations: 166.7 kB / 0.4889 GB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.3112, allocations: 27 kB / 0.489 GB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.3116, allocations: 275.3 kB / 0.4892 GB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3116, allocations: 2.875 kB / 0.4892 GB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3116, allocations: 0 / 0.4892 GB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3116, allocations: 2.656 kB / 0.4892 GB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.3122, allocations: 0.6069 MB / 0.4898 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3122, allocations: 3.094 kB / 0.4898 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.3124, allocations: 49.91 kB / 0.4899 GB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/0.3125, allocations: 23.64 kB / 0.4899 GB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.3125, allocations: 9.828 kB / 0.4899 GB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004982/0.313, allocations: 1.725 MB / 0.4916 GB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.313, allocations: 8.109 kB / 0.4916 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.3134, allocations: 473 kB / 0.4921 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.3134, allocations: 13.91 kB / 0.4921 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3134, allocations: 3.031 kB / 0.4921 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3136, allocations: 9.031 kB / 0.4921 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.3136, allocations: 24.83 kB / 0.4921 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3137, allocations: 12.05 kB / 0.4921 GB, free: 1.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.466e-05/0.3137, allocations: 129 kB / 0.4922 GB, free: 1.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3137, allocations: 4.031 kB / 0.4922 GB, free: 1.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.3141, allocations: 133.5 kB / 0.4924 GB, free: 1.363 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.0004246/0.3145, allocations: 250 kB / 0.4926 GB, free: 1.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.3148, allocations: 214.4 kB / 0.4928 GB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3148, allocations: 0 / 0.4928 GB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.3151, allocations: 277.5 kB / 0.4931 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3154, allocations: 54.78 kB / 0.4931 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008277/0.3162, allocations: 397.5 kB / 0.4935 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.3162, allocations: 74.39 kB / 0.4936 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.3164, allocations: 60.02 kB / 0.4936 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.3165, allocations: 29.33 kB / 0.4937 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3165, allocations: 0 / 0.4937 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of Templates: time 0.007313/0.3238, allocations: 6.448 MB / 0.5 GB, free: 12.61 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.355561824981123]