Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001036/0.001036, allocations: 187 kB / 17.92 MB, free: 3.855 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.211/1.211, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009624/0.0009624, allocations: 96.67 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008455/0.0008457, allocations: 43.92 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1939, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002254/0.1961, allocations: 1.41 MB / 375.2 MB, free: 44.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2983/0.4945, allocations: 148.1 MB / 0.5111 GB, free: 400 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.4946, allocations: 0 / 0.5111 GB, free: 400 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.4947, allocations: 4.828 kB / 0.5111 GB, free: 400 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.4955, allocations: 204.4 kB / 0.5113 GB, free: 392 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.4968, allocations: 0.5296 MB / 0.5118 GB, free: 364 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.497, allocations: 56.48 kB / 0.5118 GB, free: 364 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.497, allocations: 6.25 kB / 0.5118 GB, free: 360 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.497, allocations: 22.78 kB / 0.5119 GB, free: 360 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.4971, allocations: 31.72 kB / 0.5119 GB, free: 360 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.4971, allocations: 3.188 kB / 0.5119 GB, free: 360 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.4983, allocations: 0.7945 MB / 0.5127 GB, free: 352 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.4984, allocations: 7.062 kB / 0.5127 GB, free: 352 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.4984, allocations: 27.55 kB / 0.5127 GB, free: 352 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007175/0.4991, allocations: 0.614 MB / 0.5133 GB, free: 324 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4991, allocations: 5.094 kB / 0.5133 GB, free: 320 kB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.4991, allocations: 0 / 0.5133 GB, free: 320 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.4991, allocations: 0 / 0.5133 GB, free: 320 kB / 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.000474/0.4996, allocations: 451.5 kB / 0.5137 GB, free: 15.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.4997, allocations: 6.844 kB / 0.5138 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.5006, allocations: 100 kB / 0.5138 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.5008, allocations: 224.9 kB / 0.5141 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5008, allocations: 7.188 kB / 0.5141 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.5009, allocations: 1.781 kB / 0.5141 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5011, allocations: 93.25 kB / 0.5142 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5011, allocations: 3 kB / 0.5142 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5011, allocations: 0 / 0.5142 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5011, allocations: 3.188 kB / 0.5142 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.5013, allocations: 52.05 kB / 0.5142 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.5015, allocations: 207.5 kB / 0.5144 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.5019, allocations: 125.3 kB / 0.5145 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.502, allocations: 40.33 kB / 0.5146 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005901/0.5026, allocations: 0.9873 MB / 0.5155 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.5027, allocations: 37.81 kB / 0.5156 GB, free: 14.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.5027, allocations: 0 / 0.5156 GB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004567/0.5031, allocations: 127.5 kB / 0.5157 GB, free: 14.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.5032, allocations: 89.17 kB / 0.5158 GB, free: 14.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.5034, allocations: 152.9 kB / 0.5159 GB, free: 13.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.5034, allocations: 28.17 kB / 0.516 GB, free: 13.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.5034, allocations: 83.95 kB / 0.516 GB, free: 13.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.5035, allocations: 23.08 kB / 0.5161 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.5035, allocations: 29.38 kB / 0.5161 GB, free: 13.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.5036, allocations: 319.5 kB / 0.5164 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.5037, allocations: 30.2 kB / 0.5164 GB, free: 13.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.5039, allocations: 54.14 kB / 0.5165 GB, free: 13.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.5041, allocations: 84.56 kB / 0.5165 GB, free: 13.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5041, allocations: 5.703 kB / 0.5166 GB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003166/0.5044, allocations: 123.4 kB / 0.5167 GB, free: 13.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5044, allocations: 5.281 kB / 0.5167 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5045, allocations: 0.875 kB / 0.5167 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5045, allocations: 2.031 kB / 0.5167 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5046, allocations: 28.09 kB / 0.5167 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5046, allocations: 1.719 kB / 0.5167 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.5048, allocations: 9.953 kB / 0.5167 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.5048, allocations: 7.406 kB / 0.5167 GB, free: 13.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.707e-05/0.5049, allocations: 122.8 kB / 0.5168 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.5049, allocations: 7.094 kB / 0.5168 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.5054, allocations: 243.8 kB / 0.5171 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.5055, allocations: 1.625 kB / 0.5171 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5055, allocations: 1.031 kB / 0.5171 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5055, allocations: 0.9375 kB / 0.5171 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.5056, allocations: 221.2 kB / 0.5173 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5057, allocations: 1.031 kB / 0.5173 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.5058, allocations: 24.28 kB / 0.5173 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5058, allocations: 1.281 kB / 0.5173 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5059, allocations: 1.75 kB / 0.5173 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5059, allocations: 4.203 kB / 0.5173 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5059, allocations: 5.469 kB / 0.5173 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.5071, allocations: 1.065 MB / 0.5184 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.5072, allocations: 93.61 kB / 0.5185 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.5072, allocations: 4.906 kB / 0.5185 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.5074, allocations: 7 kB / 0.5185 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.5075, allocations: 10.09 kB / 0.5185 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.5075, allocations: 6.531 kB / 0.5185 GB, free: 12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.5076, allocations: 133.1 kB / 0.5186 GB, free: 11.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.5076, allocations: 4.094 kB / 0.5186 GB, free: 11.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000614/0.5083, allocations: 186.2 kB / 0.5188 GB, free: 11.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 (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.0007558/0.509, allocations: 379.4 kB / 0.5192 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.5093, allocations: 81.53 kB / 0.5192 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5093, allocations: 1.203 kB / 0.5192 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.5094, allocations: 43.09 kB / 0.5193 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.5096, allocations: 12.53 kB / 0.5193 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.5102, allocations: 450.4 kB / 0.5197 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.5104, allocations: 0.6896 MB / 0.5204 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005542/0.511, allocations: 432.1 kB / 0.5208 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.5111, allocations: 36.02 kB / 0.5208 GB, free: 10.65 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5111, allocations: 1.094 kB / 0.5208 GB, free: 10.65 MB / 394.7 MB Notification: Performance of Templates: time 0.008639/0.5197, allocations: 6.063 MB / 0.5268 GB, free: 9.828 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches