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.001334/0.001334, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007398/0.0007399, allocations: 92.95 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1921, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001011/0.1931, allocations: 1.062 MB / 375.6 MB, free: 44.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.276/0.4692, allocations: 136.5 MB / 0.5001 GB, free: 1.516 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.4693, allocations: 0 / 0.5001 GB, free: 1.516 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.4693, allocations: 5.766 kB / 0.5002 GB, free: 1.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.4699, allocations: 183.6 kB / 0.5003 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.4711, allocations: 487.4 kB / 0.5008 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.4712, allocations: 44.56 kB / 0.5008 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.4712, allocations: 8.281 kB / 0.5008 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.4713, allocations: 21.08 kB / 0.5009 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.4713, allocations: 33.66 kB / 0.5009 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.4714, allocations: 1.781 kB / 0.5009 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.4724, allocations: 0.6225 MB / 0.5015 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.4724, allocations: 14.55 kB / 0.5015 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.4724, allocations: 32.11 kB / 0.5015 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.4729, allocations: 361.8 kB / 0.5019 GB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4729, allocations: 0 / 0.5019 GB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4729, allocations: 4 kB / 0.5019 GB, free: 1.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.4729, allocations: 0 / 0.5019 GB, free: 1.414 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.0005495/0.4735, allocations: 440.2 kB / 0.5023 GB, free: 17.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.4735, allocations: 9.203 kB / 0.5023 GB, free: 17.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.4746, allocations: 97.88 kB / 0.5024 GB, free: 17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.4748, allocations: 234.8 kB / 0.5026 GB, free: 16.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.4748, allocations: 0 / 0.5026 GB, free: 16.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.4749, allocations: 3.594 kB / 0.5026 GB, free: 16.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.4751, allocations: 93.75 kB / 0.5027 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.4751, allocations: 0 / 0.5027 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4751, allocations: 6.297 kB / 0.5027 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4751, allocations: 2.969 kB / 0.5027 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.4752, allocations: 43 kB / 0.5028 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.4754, allocations: 215.9 kB / 0.503 GB, free: 16.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.4758, allocations: 124.6 kB / 0.5031 GB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.476, allocations: 34.47 kB / 0.5031 GB, free: 16.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/0.4765, allocations: 0.9925 MB / 0.5041 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.4766, allocations: 33.47 kB / 0.5041 GB, free: 15.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4766, allocations: 0 / 0.5041 GB, free: 15.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004063/0.477, allocations: 134.5 kB / 0.5043 GB, free: 15.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.477, allocations: 77.11 kB / 0.5043 GB, free: 15.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.4772, allocations: 159.6 kB / 0.5045 GB, free: 15.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.4773, allocations: 25.7 kB / 0.5045 GB, free: 15.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.4773, allocations: 83.39 kB / 0.5046 GB, free: 14.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.4773, allocations: 26.92 kB / 0.5046 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.4773, allocations: 0 / 0.5046 GB, free: 14.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.4774, allocations: 320.5 kB / 0.5049 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.4775, allocations: 32.98 kB / 0.505 GB, free: 14.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.948e-05/0.4776, allocations: 55.59 kB / 0.505 GB, free: 14.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/0.4777, allocations: 33.22 kB / 0.505 GB, free: 14.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4777, allocations: 0 / 0.505 GB, free: 14.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002754/0.478, allocations: 114.6 kB / 0.5052 GB, free: 14.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.4781, allocations: 5.812 kB / 0.5052 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4781, allocations: 4.062 kB / 0.5052 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.4781, allocations: 6.297 kB / 0.5052 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4782, allocations: 29.84 kB / 0.5052 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4782, allocations: 0 / 0.5052 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.4784, allocations: 13.14 kB / 0.5052 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.4784, allocations: 16.94 kB / 0.5052 GB, free: 14.53 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 7.133e-05/0.4785, allocations: 112.8 kB / 0.5053 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.4786, allocations: 7.922 kB / 0.5053 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.479, allocations: 244.3 kB / 0.5056 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.479, allocations: 2.906 kB / 0.5056 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.479, allocations: 0 / 0.5056 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4791, allocations: 0 / 0.5056 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.4792, allocations: 215.5 kB / 0.5058 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4792, allocations: 4 kB / 0.5058 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.4794, allocations: 26.7 kB / 0.5058 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4794, allocations: 0 / 0.5058 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4794, allocations: 2.938 kB / 0.5058 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4794, allocations: 0 / 0.5058 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4794, allocations: 0 / 0.5058 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.4798, allocations: 187 kB / 0.506 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.4799, allocations: 91.52 kB / 0.5061 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.4799, allocations: 7.219 kB / 0.5061 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.4801, allocations: 5.812 kB / 0.5061 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.4801, allocations: 6.422 kB / 0.5061 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.4802, allocations: 9.094 kB / 0.5061 GB, free: 13.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.4803, allocations: 130.2 kB / 0.5062 GB, free: 13.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4803, allocations: 0 / 0.5062 GB, free: 13.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000429/0.4807, allocations: 172.6 kB / 0.5064 GB, free: 13.88 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.0006464/0.4814, allocations: 372.6 kB / 0.5068 GB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4816, allocations: 75 kB / 0.5068 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4817, allocations: 3.938 kB / 0.5068 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.4818, allocations: 42.03 kB / 0.5069 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.482, allocations: 18.34 kB / 0.5069 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.4824, allocations: 384.8 kB / 0.5073 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.4827, allocations: 0.6925 MB / 0.5079 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4828, allocations: 40.72 kB / 0.508 GB, free: 12.75 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4828, allocations: 0 / 0.508 GB, free: 12.75 MB / 394.7 MB Notification: Performance of Templates: time 0.006359/0.4892, allocations: 4.675 MB / 0.5125 GB, free: 12.14 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/jenkins/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