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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001133/0.001133, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.31/1.31, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001134/0.001134, allocations: 55.91 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.08, allocations: 46.61 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002701/0.08276, allocations: 1.353 MB / 376.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3156/0.3984, allocations: 150.4 MB / 0.5145 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.3985, allocations: 0 / 0.5145 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.3985, allocations: 3.938 kB / 0.5145 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008136/0.3994, allocations: 238.8 kB / 0.5147 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.4008, allocations: 0.6284 MB / 0.5153 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.4009, allocations: 59.64 kB / 0.5154 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.401, allocations: 4 kB / 0.5154 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.401, allocations: 23.92 kB / 0.5154 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.4011, allocations: 27.91 kB / 0.5155 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.4011, allocations: 4 kB / 0.5155 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.4024, allocations: 0.885 MB / 0.5163 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.4025, allocations: 15.98 kB / 0.5163 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.4025, allocations: 23.81 kB / 0.5164 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.4033, allocations: 0.5965 MB / 0.5169 GB, free: 4.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4033, allocations: 0 / 0.5169 GB, free: 4.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4033, allocations: 0 / 0.5169 GB, free: 4.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.4034, allocations: 0 / 0.5169 GB, free: 4.988 MB / 446.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.0005251/0.4039, allocations: 451.9 kB / 0.5174 GB, free: 4.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.4039, allocations: 8.031 kB / 0.5174 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.405, allocations: 100.7 kB / 0.5175 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.4053, allocations: 216.5 kB / 0.5177 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4053, allocations: 19.81 kB / 0.5177 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.4053, allocations: 0 / 0.5177 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4055, allocations: 99.25 kB / 0.5178 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4056, allocations: 0 / 0.5178 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4056, allocations: 4 kB / 0.5178 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4056, allocations: 0 / 0.5178 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.4058, allocations: 43.95 kB / 0.5178 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.406, allocations: 210.8 kB / 0.518 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.4065, allocations: 129 kB / 0.5182 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4066, allocations: 37.77 kB / 0.5182 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/0.4072, allocations: 0.9862 MB / 0.5192 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.4073, allocations: 34.5 kB / 0.5192 GB, free: 2.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4073, allocations: 0 / 0.5192 GB, free: 2.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004638/0.4077, allocations: 133.6 kB / 0.5193 GB, free: 2.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.4078, allocations: 85.03 kB / 0.5194 GB, free: 2.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.408, allocations: 149.8 kB / 0.5196 GB, free: 1.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.408, allocations: 25.7 kB / 0.5196 GB, free: 1.848 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.4081, allocations: 84.14 kB / 0.5197 GB, free: 1.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.4081, allocations: 27.64 kB / 0.5197 GB, free: 1.734 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.4082, allocations: 25.7 kB / 0.5197 GB, free: 1.703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.4083, allocations: 322.8 kB / 0.52 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4084, allocations: 31.97 kB / 0.52 GB, free: 1.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4085, allocations: 49.83 kB / 0.5201 GB, free: 1.289 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.4087, allocations: 87.34 kB / 0.5202 GB, free: 1.191 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4087, allocations: 4.812 kB / 0.5202 GB, free: 1.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003419/0.4091, allocations: 121.8 kB / 0.5203 GB, free: 1.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4091, allocations: 4 kB / 0.5203 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4091, allocations: 4 kB / 0.5203 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4091, allocations: 96 / 0.5203 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4093, allocations: 31.89 kB / 0.5203 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4093, allocations: 0 / 0.5203 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.4095, allocations: 12.06 kB / 0.5204 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.4095, allocations: 10.73 kB / 0.5204 GB, free: 1.004 MB / 446.1 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 8.374e-05/0.4096, allocations: 117.8 kB / 0.5205 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.4096, allocations: 7.906 kB / 0.5205 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.4102, allocations: 249.9 kB / 0.5207 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4102, allocations: 0 / 0.5207 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4102, allocations: 0 / 0.5207 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4102, allocations: 0 / 0.5207 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.4104, allocations: 218.9 kB / 0.5209 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4105, allocations: 0 / 0.5209 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.4106, allocations: 27.97 kB / 0.521 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4106, allocations: 3.938 kB / 0.521 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4107, allocations: 0 / 0.521 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4107, allocations: 4 kB / 0.521 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4107, allocations: 4 kB / 0.521 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.4111, allocations: 177.7 kB / 0.5211 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.4112, allocations: 93.03 kB / 0.5212 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.4113, allocations: 3.984 kB / 0.5212 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4114, allocations: 8.062 kB / 0.5212 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.4115, allocations: 7.984 kB / 0.5212 GB, free: 0 / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.4115, allocations: 4.922 kB / 0.5212 GB, free: 15.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.4117, allocations: 131.2 kB / 0.5214 GB, free: 15.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4117, allocations: 0 / 0.5214 GB, free: 15.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005139/0.4122, allocations: 167.9 kB / 0.5215 GB, free: 15.7 MB / 462.1 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.0008222/0.413, allocations: 401.1 kB / 0.5219 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.4133, allocations: 75.88 kB / 0.522 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4133, allocations: 0 / 0.522 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4135, allocations: 38.17 kB / 0.522 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.4137, allocations: 25.55 kB / 0.522 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.4143, allocations: 294.5 kB / 0.5223 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4145, allocations: 0.6924 MB / 0.523 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005334/0.4151, allocations: 430.9 kB / 0.5234 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.4152, allocations: 39.39 kB / 0.5235 GB, free: 13.68 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4152, allocations: 0 / 0.5235 GB, free: 13.68 MB / 462.1 MB Notification: Performance of Templates: time 0.01011/0.4253, allocations: 6.127 MB / 0.5294 GB, free: 7.551 MB / 462.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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