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.001525/0.001529, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001091/0.001091, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.317e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.064/2.17, allocations: 0.5816 GB / 0.942 GB, free: 76.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/2.171, allocations: 78.45 kB / 0.9421 GB, free: 76.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1581/2.329, allocations: 41.66 MB / 0.9828 GB, free: 38.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.815e-06/2.329, allocations: 4 kB / 0.9828 GB, free: 38.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.086e-06/2.329, allocations: 7.938 kB / 0.9828 GB, free: 38.55 MB / 426.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.0006894/2.33, allocations: 442.7 kB / 0.9832 GB, free: 38.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/2.33, allocations: 12.03 kB / 0.9832 GB, free: 38.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/2.331, allocations: 83.88 kB / 0.9833 GB, free: 37.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/2.331, allocations: 195 kB / 0.9835 GB, free: 37.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/2.331, allocations: 7.938 kB / 0.9835 GB, free: 37.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/2.331, allocations: 3.953 kB / 0.9835 GB, free: 37.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/2.331, allocations: 75.31 kB / 0.9836 GB, free: 37.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/2.332, allocations: 0 / 0.9836 GB, free: 37.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/2.332, allocations: 0 / 0.9836 GB, free: 37.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/2.332, allocations: 0 / 0.9836 GB, free: 37.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/2.332, allocations: 31.92 kB / 0.9836 GB, free: 37.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/2.332, allocations: 194.4 kB / 0.9838 GB, free: 37.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/2.332, allocations: 93.19 kB / 0.9839 GB, free: 37.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/2.332, allocations: 41.83 kB / 0.9839 GB, free: 37.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009158/2.333, allocations: 1.376 MB / 0.9852 GB, free: 35.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/2.333, allocations: 34.56 kB / 0.9853 GB, free: 35.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/2.333, allocations: 0 / 0.9853 GB, free: 35.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002953/2.334, allocations: 81.59 kB / 0.9854 GB, free: 35.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/2.334, allocations: 77.11 kB / 0.9854 GB, free: 35.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/2.334, allocations: 117 kB / 0.9855 GB, free: 35.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/2.334, allocations: 29.7 kB / 0.9856 GB, free: 35.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/2.334, allocations: 158.6 kB / 0.9857 GB, free: 35.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/2.334, allocations: 23.64 kB / 0.9857 GB, free: 34.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/2.334, allocations: 8 kB / 0.9858 GB, free: 34.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/2.334, allocations: 314.8 kB / 0.9861 GB, free: 34.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/2.334, allocations: 12 kB / 0.9861 GB, free: 34.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/2.334, allocations: 47.72 kB / 0.9861 GB, free: 34.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/2.334, allocations: 19.98 kB / 0.9861 GB, free: 34.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.334, allocations: 3.938 kB / 0.9861 GB, free: 34.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002266/2.335, allocations: 105.4 kB / 0.9862 GB, free: 34.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/2.335, allocations: 4 kB / 0.9862 GB, free: 34.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/2.335, allocations: 0 / 0.9862 GB, free: 34.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/2.335, allocations: 4 kB / 0.9862 GB, free: 34.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/2.335, allocations: 15.98 kB / 0.9863 GB, free: 34.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/2.335, allocations: 0 / 0.9863 GB, free: 34.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/2.335, allocations: 4 kB / 0.9863 GB, free: 34.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/2.335, allocations: 7.984 kB / 0.9863 GB, free: 34.43 MB / 426.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 () * 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 6.527e-05/2.335, allocations: 120.9 kB / 0.9864 GB, free: 34.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/2.335, allocations: 3.906 kB / 0.9864 GB, free: 34.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/2.336, allocations: 113.5 kB / 0.9865 GB, free: 34.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/2.336, allocations: 4 kB / 0.9865 GB, free: 34.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/2.336, allocations: 4.219 kB / 0.9865 GB, free: 34.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/2.336, allocations: 0 / 0.9865 GB, free: 34.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/2.336, allocations: 177.6 kB / 0.9867 GB, free: 33.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/2.336, allocations: 4 kB / 0.9867 GB, free: 33.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/2.336, allocations: 15.97 kB / 0.9867 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/2.336, allocations: 4 kB / 0.9867 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/2.336, allocations: 4 kB / 0.9867 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/2.336, allocations: 0 / 0.9867 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/2.336, allocations: 0 / 0.9867 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/2.337, allocations: 155.5 kB / 0.9868 GB, free: 33.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/2.337, allocations: 97.02 kB / 0.9869 GB, free: 33.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/2.337, allocations: 0 / 0.9869 GB, free: 33.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/2.337, allocations: 4 kB / 0.9869 GB, free: 33.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/2.337, allocations: 7.984 kB / 0.987 GB, free: 33.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/2.337, allocations: 0 / 0.987 GB, free: 33.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001081/2.337, allocations: 111.3 kB / 0.9871 GB, free: 33.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.337, allocations: 0 / 0.9871 GB, free: 33.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009378/2.338, allocations: 215.7 kB / 0.9873 GB, free: 33.3 MB / 426.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 () * 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 (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.001722/2.34, allocations: 0.8229 MB / 0.9881 GB, free: 32.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/2.34, allocations: 51.98 kB / 0.9881 GB, free: 32.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/2.34, allocations: 0 / 0.9881 GB, free: 32.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/2.34, allocations: 27.92 kB / 0.9881 GB, free: 32.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/2.341, allocations: 15.94 kB / 0.9882 GB, free: 32.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/2.341, allocations: 256.2 kB / 0.9884 GB, free: 32.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/2.341, allocations: 0.6887 MB / 0.9891 GB, free: 31.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/2.342, allocations: 31.41 kB / 0.9891 GB, free: 31.35 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/2.342, allocations: 0 / 0.9891 GB, free: 31.35 MB / 426.7 MB Notification: Performance of Templates: time 0.01369/2.355, allocations: 6.654 MB / 0.9956 GB, free: 24.68 MB / 426.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