Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 105.5 kB / 18.39 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 187.1 kB / 19.33 MB, free: 3.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 48.31 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08617, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002489/0.0887, allocations: 1.361 MB / 377.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1898/0.2786, allocations: 12.08 MB / 389.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.2787, allocations: 0 / 389.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.2788, allocations: 6.188 kB / 389.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.2829, allocations: 1.05 MB / 390.3 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.2855, allocations: 0.6283 MB / 390.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.2857, allocations: 65.31 kB / 391 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.2858, allocations: 10.44 kB / 391 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.2859, allocations: 26.47 kB / 391 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.286, allocations: 33.91 kB / 391.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.286, allocations: 7.938 kB / 391.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004568/0.2906, allocations: 1.608 MB / 392.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.2906, allocations: 17.84 kB / 392.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.2907, allocations: 21.19 kB / 392.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003367/0.2941, allocations: 1.075 MB / 393.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2941, allocations: 0 / 393.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2941, allocations: 1.312 kB / 393.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2941, allocations: 0 / 393.8 MB, free: 4.125 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001107/0.2952, allocations: 0.5385 MB / 394.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2953, allocations: 14.09 kB / 394.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2954, allocations: 12.39 kB / 394.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2956, allocations: 178.1 kB / 394.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2956, allocations: 1.656 kB / 394.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2956, allocations: 2.875 kB / 394.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.2958, allocations: 68.17 kB / 394.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2958, allocations: 0.6094 kB / 394.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2958, allocations: 5.062 kB / 394.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2958, allocations: 5.344 kB / 394.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.296, allocations: 22.08 kB / 394.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.2962, allocations: 172.1 kB / 394.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.2964, allocations: 80.8 kB / 394.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.2965, allocations: 28.69 kB / 394.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006282/0.3028, allocations: 3.294 MB / 398.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3029, allocations: 36.78 kB / 398.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.3029, allocations: 5.438 kB / 398.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003312/0.3032, allocations: 78.55 kB / 398.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.3033, allocations: 78.27 kB / 398.4 MB, free: 440 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.3034, allocations: 115.6 kB / 398.5 MB, free: 332 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.3034, allocations: 26.73 kB / 398.5 MB, free: 300 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.3034, allocations: 90.59 kB / 398.6 MB, free: 208 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.3034, allocations: 15.84 kB / 398.6 MB, free: 196 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3035, allocations: 21.06 kB / 398.7 MB, free: 176 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.3036, allocations: 317.8 kB / 399 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.3037, allocations: 12.75 kB / 399 MB, free: 15.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.3037, allocations: 26.19 kB / 399 MB, free: 15.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.3038, allocations: 49.89 kB / 399.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3038, allocations: 0.875 kB / 399.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001705/0.304, allocations: 69.98 kB / 399.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3041, allocations: 9.156 kB / 399.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3041, allocations: 0.8906 kB / 399.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3041, allocations: 1.312 kB / 399.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.3042, allocations: 11.67 kB / 399.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3042, allocations: 0.8438 kB / 399.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.3042, allocations: 13.38 kB / 399.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3043, allocations: 6.391 kB / 399.2 MB, free: 15.74 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.983e-05/0.3043, allocations: 109.4 kB / 399.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3044, allocations: 10.5 kB / 399.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.3046, allocations: 104.2 kB / 399.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3047, allocations: 1.688 kB / 399.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3047, allocations: 1.281 kB / 399.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3047, allocations: 0.7031 kB / 399.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.3048, allocations: 171.5 kB / 399.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3048, allocations: 0 / 399.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.3049, allocations: 12.03 kB / 399.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3049, allocations: 5.25 kB / 399.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3049, allocations: 1.828 kB / 399.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3049, allocations: 1.344 kB / 399.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3049, allocations: 0.5156 kB / 399.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.3051, allocations: 103.7 kB / 399.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.3052, allocations: 91.52 kB / 399.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3052, allocations: 2.312 kB / 399.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.3053, allocations: 10.98 kB / 399.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.3054, allocations: 5.906 kB / 399.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3054, allocations: 7.453 kB / 399.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.581e-05/0.3054, allocations: 92.38 kB / 399.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3055, allocations: 1.344 kB / 399.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3066, allocations: 330 kB / 400.2 MB, free: 14.99 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001581/0.3082, allocations: 0.5762 MB / 400.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3084, allocations: 40.98 kB / 400.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3084, allocations: 0 / 400.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/0.3085, allocations: 22.27 kB / 400.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.3087, allocations: 11.72 kB / 400.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.3091, allocations: 182.6 kB / 401 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.3094, allocations: 0.6866 MB / 401.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.3094, allocations: 26.67 kB / 401.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3094, allocations: 0 / 401.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of Templates: time 0.01043/0.3199, allocations: 5.949 MB / 407.7 MB, free: 11.45 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches