Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002563/0.00257, allocations: 181.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.456/3.456, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003161/0.003161, allocations: 97.23 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006495, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5442, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002556/0.5468, allocations: 1.045 MB / 375.6 MB, free: 44.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3297/0.8766, allocations: 127.1 MB / 0.4909 GB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.8768, allocations: 4 kB / 0.4909 GB, free: 392 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.8769, allocations: 3.938 kB / 0.4909 GB, free: 388 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.8785, allocations: 191.4 kB / 0.4911 GB, free: 196 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.5256/1.404, allocations: 472.8 kB / 0.4915 GB, free: 2.023 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/1.404, allocations: 44.38 kB / 0.4916 GB, free: 2.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/1.404, allocations: 5.25 kB / 0.4916 GB, free: 2.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/1.405, allocations: 23.2 kB / 0.4916 GB, free: 2.023 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/1.405, allocations: 28.88 kB / 0.4916 GB, free: 2.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/1.405, allocations: 2.734 kB / 0.4916 GB, free: 2.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/1.408, allocations: 0.6374 MB / 0.4922 GB, free: 2.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/1.408, allocations: 5.5 kB / 0.4922 GB, free: 2.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/1.408, allocations: 36.91 kB / 0.4923 GB, free: 1.988 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/1.41, allocations: 347.6 kB / 0.4926 GB, free: 1.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.41, allocations: 0 / 0.4926 GB, free: 1.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.837e-06/1.41, allocations: 0 / 0.4926 GB, free: 1.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/1.41, allocations: 0 / 0.4926 GB, free: 1.969 MB / 378.7 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.001241/1.411, allocations: 439 kB / 0.493 GB, free: 17.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/1.411, allocations: 11.22 kB / 0.493 GB, free: 17.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/1.414, allocations: 97.64 kB / 0.4931 GB, free: 17.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/1.415, allocations: 223 kB / 0.4933 GB, free: 17.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/1.415, allocations: 7.094 kB / 0.4934 GB, free: 17.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/1.415, allocations: 6.094 kB / 0.4934 GB, free: 17.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/1.415, allocations: 87.88 kB / 0.4934 GB, free: 17.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/1.415, allocations: 0 / 0.4934 GB, free: 17.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/1.415, allocations: 0 / 0.4934 GB, free: 17.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.415, allocations: 8.969 kB / 0.4935 GB, free: 17.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/1.416, allocations: 42.06 kB / 0.4935 GB, free: 17.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/1.416, allocations: 215.5 kB / 0.4937 GB, free: 17.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/1.418, allocations: 121.8 kB / 0.4938 GB, free: 17.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/1.419, allocations: 0.9752 MB / 0.4948 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/1.419, allocations: 41.81 kB / 0.4948 GB, free: 15.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.388e-06/1.419, allocations: 2.844 kB / 0.4948 GB, free: 15.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001222/1.42, allocations: 129.7 kB / 0.4949 GB, free: 15.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/1.421, allocations: 77.11 kB / 0.495 GB, free: 15.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/1.421, allocations: 160.2 kB / 0.4952 GB, free: 15.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/1.421, allocations: 25.7 kB / 0.4952 GB, free: 15.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/1.421, allocations: 153.8 kB / 0.4953 GB, free: 15.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/1.421, allocations: 28.31 kB / 0.4954 GB, free: 15.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/1.421, allocations: 0 / 0.4954 GB, free: 15.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/1.422, allocations: 322.7 kB / 0.4957 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/1.422, allocations: 23.17 kB / 0.4957 GB, free: 15.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/1.422, allocations: 55.83 kB / 0.4957 GB, free: 15.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/1.423, allocations: 34.39 kB / 0.4958 GB, free: 15.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.423, allocations: 0 / 0.4958 GB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008246/1.423, allocations: 120.4 kB / 0.4959 GB, free: 15.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.424, allocations: 5.281 kB / 0.4959 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.424, allocations: 480 / 0.4959 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.424, allocations: 2.906 kB / 0.4959 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/1.424, allocations: 29.5 kB / 0.4959 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.424, allocations: 6.656 kB / 0.4959 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/1.424, allocations: 2.375 kB / 0.4959 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/1.425, allocations: 12.34 kB / 0.4959 GB, free: 15.05 MB / 394.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002342/1.425, allocations: 116.1 kB / 0.4961 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.425, allocations: 7.859 kB / 0.4961 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/1.426, allocations: 241.8 kB / 0.4963 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/1.426, allocations: 2.969 kB / 0.4963 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.426, allocations: 0 / 0.4963 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.426, allocations: 0 / 0.4963 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/1.427, allocations: 216.5 kB / 0.4965 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.427, allocations: 0 / 0.4965 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/1.427, allocations: 31.05 kB / 0.4965 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/1.427, allocations: 3.156 kB / 0.4965 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/1.427, allocations: 4 kB / 0.4965 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/1.427, allocations: 1.656 kB / 0.4965 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.427, allocations: 3.938 kB / 0.4965 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/1.428, allocations: 196.1 kB / 0.4967 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/1.429, allocations: 94.11 kB / 0.4968 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.429, allocations: 3.625 kB / 0.4968 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/1.429, allocations: 6.125 kB / 0.4968 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/1.429, allocations: 5.031 kB / 0.4968 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.429, allocations: 6.031 kB / 0.4968 GB, free: 14.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003626/1.43, allocations: 133.9 kB / 0.497 GB, free: 14.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.43, allocations: 0 / 0.497 GB, free: 14.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00124/1.431, allocations: 162.1 kB / 0.4971 GB, free: 14.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00189/1.433, allocations: 387.5 kB / 0.4975 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006333/1.434, allocations: 74.48 kB / 0.4976 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.434, allocations: 4.125 kB / 0.4976 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/1.434, allocations: 38.92 kB / 0.4976 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/1.434, allocations: 11.73 kB / 0.4976 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.436, allocations: 390.5 kB / 0.498 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/1.436, allocations: 0.6891 MB / 0.4987 GB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/1.436, allocations: 52.7 kB / 0.4987 GB, free: 13.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/1.436, allocations: 0 / 0.4987 GB, free: 13.25 MB / 394.7 MB Notification: Performance of Templates: time 0.01697/1.453, allocations: 4.962 MB / 0.5036 GB, free: 12.52 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.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/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches