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.001425/0.001425, allocations: 76.06 kB / 20.72 MB, free: 3.766 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.001033/0.001033, allocations: 169 kB / 24.14 MB, free: 356 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.9382/0.9382, allocations: 158.6 MB / 186 MB, free: 2.734 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.1399/0.1399, allocations: 32.39 MB / 270.7 MB, free: 14.6 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.803e-06/1.803e-06, allocations: 0 / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.08e-05, allocations: 6.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2765/0.2765, allocations: 143.2 MB / 442.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2779, allocations: 1.53 MB / 443.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.278, allocations: 0 / 443.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.2784, allocations: 47.69 kB / 443.8 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.2794, allocations: 405.7 kB / 444.2 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.2799, allocations: 175.4 kB / 444.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.2801, allocations: 183.1 kB / 444.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.2802, allocations: 11.92 kB / 444.6 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.2804, allocations: 107.6 kB / 444.7 MB, free: 12.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.2805, allocations: 59.81 kB / 444.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.2805, allocations: 4 kB / 444.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009049/0.2814, allocations: 0.5181 MB / 445.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.2815, allocations: 31.91 kB / 445.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.2816, allocations: 39.91 kB / 445.3 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009668/0.2825, allocations: 406.9 kB / 445.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2825, allocations: 0 / 445.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2825, allocations: 0 / 445.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2825, allocations: 0 / 445.7 MB, free: 11.14 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.0004634/0.283, allocations: 337.2 kB / 446.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.283, allocations: 8.031 kB / 446.1 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.2841, allocations: 245.2 kB / 446.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.2843, allocations: 137.6 kB / 446.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2843, allocations: 4.562 kB / 446.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.2844, allocations: 12.38 kB / 446.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.2847, allocations: 238.1 kB / 446.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2847, allocations: 0 / 446.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2847, allocations: 11.94 kB / 446.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2847, allocations: 4 kB / 446.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.2848, allocations: 103.8 kB / 446.8 MB, free: 9.984 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.0008206/0.2857, allocations: 349.8 kB / 447.1 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.2859, allocations: 130.4 kB / 447.3 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.2859, allocations: 53.48 kB / 447.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-05/0.286, allocations: 11.98 kB / 447.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.286, allocations: 38.56 kB / 447.4 MB, free: 9.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.286, allocations: 0 / 447.4 MB, free: 9.375 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.002381/0.2884, allocations: 1.015 MB / 448.4 MB, free: 8.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.2884, allocations: 55.34 kB / 448.4 MB, free: 8.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.2885, allocations: 122.7 kB / 448.6 MB, free: 8.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2885, allocations: 29.7 kB / 448.6 MB, free: 8.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.2886, allocations: 96.36 kB / 448.7 MB, free: 7.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.2886, allocations: 75.36 kB / 448.8 MB, free: 7.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.2887, allocations: 41.69 kB / 448.8 MB, free: 7.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.2888, allocations: 322.8 kB / 449.1 MB, free: 7.516 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.2888, allocations: 39.98 kB / 449.2 MB, free: 7.477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.2889, allocations: 71.41 kB / 449.2 MB, free: 7.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.289, allocations: 142.1 kB / 449.4 MB, free: 7.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.289, allocations: 0 / 449.4 MB, free: 7.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002325/0.2892, allocations: 174.2 kB / 449.5 MB, free: 7.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2893, allocations: 8 kB / 449.5 MB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2893, allocations: 0 / 449.5 MB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.2894, allocations: 28.88 kB / 449.6 MB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.2896, allocations: 63.88 kB / 449.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007639/0.2972, allocations: 1.796 MB / 451.4 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.2974, allocations: 16.05 kB / 451.4 MB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.2974, allocations: 8 kB / 451.5 MB, free: 5.02 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 0.0001077/0.2975, allocations: 116.7 kB / 451.6 MB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.2976, allocations: 19.92 kB / 451.6 MB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.2979, allocations: 214.3 kB / 451.8 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2979, allocations: 4 kB / 451.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2979, allocations: 0 / 451.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2979, allocations: 0 / 451.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.2984, allocations: 400.6 kB / 452.2 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2984, allocations: 0 / 452.2 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.2986, allocations: 55.98 kB / 452.2 MB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.563e-05/0.2987, allocations: 16.86 kB / 452.3 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.2987, allocations: 7.984 kB / 452.3 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008207/0.2995, allocations: 1.15 MB / 453.4 MB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2995, allocations: 3.984 kB / 453.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.2998, allocations: 346.9 kB / 453.8 MB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.2999, allocations: 7.953 kB / 453.8 MB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.2999, allocations: 11.98 kB / 453.8 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3, allocations: 8 kB / 453.8 MB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.3, allocations: 15.97 kB / 453.8 MB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.3001, allocations: 15.98 kB / 453.8 MB, free: 2.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.31e-05/0.3001, allocations: 12.84 kB / 453.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3001, allocations: 0 / 453.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.3005, allocations: 135.8 kB / 454 MB, free: 2.336 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.0004292/0.3009, allocations: 239.8 kB / 454.2 MB, free: 2.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.3013, allocations: 263 kB / 454.5 MB, free: 1.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3013, allocations: 4 kB / 454.5 MB, free: 1.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.3014, allocations: 199.3 kB / 454.7 MB, free: 1.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.3016, allocations: 51.52 kB / 454.7 MB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.3024, allocations: 382 kB / 455.1 MB, free: 1.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.3024, allocations: 72 kB / 455.1 MB, free: 1.051 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000176/0.3026, allocations: 49.45 kB / 455.2 MB, free: 1.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.3028, allocations: 109.3 kB / 455.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3028, allocations: 0 / 455.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of Templates: time 0.1664/0.4691, allocations: 7.213 MB / 462.5 MB, free: 14.6 MB / 410.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.4763165549375117]