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.001211/0.001211, allocations: 109.4 kB / 17.73 MB, free: 5.324 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.001191/0.001191, allocations: 196.2 kB / 18.66 MB, free: 4.395 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.356/1.356, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001147/0.001147, allocations: 59.91 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.0874, allocations: 46.61 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002207/0.08964, allocations: 1.357 MB / 376.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3149/0.4046, allocations: 150.4 MB / 0.5145 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.4047, allocations: 0 / 0.5145 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.4048, allocations: 3.938 kB / 0.5145 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008292/0.4056, allocations: 234.8 kB / 0.5147 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4071, allocations: 0.6246 MB / 0.5153 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.4073, allocations: 63.66 kB / 0.5154 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.4073, allocations: 9.703 kB / 0.5154 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.4074, allocations: 27.92 kB / 0.5154 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.4075, allocations: 31.89 kB / 0.5155 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.4075, allocations: 0 / 0.5155 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.4089, allocations: 0.885 MB / 0.5163 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.409, allocations: 7.984 kB / 0.5163 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.409, allocations: 19.88 kB / 0.5164 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.4099, allocations: 0.6042 MB / 0.5169 GB, free: 5.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4099, allocations: 4 kB / 0.517 GB, free: 5.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4099, allocations: 0 / 0.517 GB, free: 5.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.4099, allocations: 0 / 0.517 GB, free: 5.086 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.0005421/0.4104, allocations: 443.9 kB / 0.5174 GB, free: 4.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4105, allocations: 12.03 kB / 0.5174 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.4116, allocations: 96.7 kB / 0.5175 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4119, allocations: 220.5 kB / 0.5177 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4119, allocations: 7.938 kB / 0.5177 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.4119, allocations: 3.938 kB / 0.5177 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.4122, allocations: 99.27 kB / 0.5178 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4122, allocations: 0 / 0.5178 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.4122, allocations: 3.938 kB / 0.5178 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4122, allocations: 0 / 0.5178 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.4124, allocations: 47.95 kB / 0.5178 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.4126, allocations: 206.8 kB / 0.518 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.4131, allocations: 129 kB / 0.5182 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.4133, allocations: 41.75 kB / 0.5182 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/0.4139, allocations: 0.9823 MB / 0.5192 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.4139, allocations: 30.56 kB / 0.5192 GB, free: 2.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.4139, allocations: 4 kB / 0.5192 GB, free: 2.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004961/0.4144, allocations: 133.5 kB / 0.5193 GB, free: 2.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4145, allocations: 77.11 kB / 0.5194 GB, free: 2.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.4147, allocations: 165.7 kB / 0.5196 GB, free: 1.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4147, allocations: 25.7 kB / 0.5196 GB, free: 1.949 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.4148, allocations: 84.14 kB / 0.5197 GB, free: 1.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.4148, allocations: 19.66 kB / 0.5197 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.4149, allocations: 37.69 kB / 0.5197 GB, free: 1.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.415, allocations: 318.8 kB / 0.52 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4151, allocations: 23.98 kB / 0.52 GB, free: 1.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4152, allocations: 53.91 kB / 0.5201 GB, free: 1.395 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.4155, allocations: 87.7 kB / 0.5202 GB, free: 1.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4155, allocations: 3.938 kB / 0.5202 GB, free: 1.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003367/0.4158, allocations: 121.5 kB / 0.5203 GB, free: 1.168 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4159, allocations: 8 kB / 0.5203 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4159, allocations: 0 / 0.5203 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4159, allocations: 3.984 kB / 0.5203 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.4161, allocations: 35.97 kB / 0.5203 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4161, allocations: 0 / 0.5203 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.4162, allocations: 4.875 kB / 0.5203 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.4163, allocations: 11.98 kB / 0.5204 GB, free: 1.105 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.116e-05/0.4164, allocations: 113.8 kB / 0.5205 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.4164, allocations: 7.906 kB / 0.5205 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/0.417, allocations: 242.1 kB / 0.5207 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.417, allocations: 3.938 kB / 0.5207 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.417, allocations: 2.812 kB / 0.5207 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.417, allocations: 4 kB / 0.5207 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.4172, allocations: 214.9 kB / 0.5209 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4172, allocations: 7.984 kB / 0.5209 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.4174, allocations: 23.97 kB / 0.521 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4174, allocations: 0 / 0.521 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.4175, allocations: 0 / 0.521 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4175, allocations: 4 kB / 0.521 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4175, allocations: 0 / 0.521 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.4179, allocations: 185.6 kB / 0.5211 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.418, allocations: 97.09 kB / 0.5212 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.418, allocations: 4 kB / 0.5212 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.4182, allocations: 3.984 kB / 0.5212 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.4182, allocations: 11.98 kB / 0.5212 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4183, allocations: 4 kB / 0.5212 GB, free: 100 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.4184, allocations: 131.2 kB / 0.5214 GB, free: 15.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4184, allocations: 0 / 0.5214 GB, free: 15.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005463/0.419, allocations: 167.9 kB / 0.5215 GB, free: 15.8 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.0007556/0.4198, allocations: 386.3 kB / 0.5219 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.4201, allocations: 75.88 kB / 0.522 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4201, allocations: 4.125 kB / 0.522 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.4202, allocations: 47.91 kB / 0.522 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.4204, allocations: 19.16 kB / 0.522 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.421, allocations: 304.8 kB / 0.5223 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.4212, allocations: 0.6846 MB / 0.523 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005083/0.4217, allocations: 442.4 kB / 0.5234 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.4218, allocations: 43.39 kB / 0.5235 GB, free: 13.78 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4218, allocations: 0 / 0.5235 GB, free: 13.78 MB / 462.1 MB Notification: Performance of Templates: time 0.009463/0.4313, allocations: 6.108 MB / 0.5294 GB, free: 7.664 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