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.001479/0.001479, allocations: 114.5 kB / 17.73 MB, free: 5.301 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.001601/0.001601, allocations: 187 kB / 18.66 MB, free: 4.375 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.351/1.351, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001124/0.001124, allocations: 47.94 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.08427, allocations: 46.62 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.002123/0.08643, allocations: 1.353 MB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.33/0.4164, allocations: 150.4 MB / 0.5145 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.4165, allocations: 0 / 0.5145 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.4166, allocations: 7.922 kB / 0.5145 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008714/0.4174, allocations: 242.8 kB / 0.5147 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.4191, allocations: 0.6239 MB / 0.5153 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.509e-05/0.4192, allocations: 55.66 kB / 0.5154 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.4192, allocations: 9.672 kB / 0.5154 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.4193, allocations: 23.88 kB / 0.5154 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.4193, allocations: 27.91 kB / 0.5155 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.4194, allocations: 4 kB / 0.5155 GB, free: 6.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.4209, allocations: 0.8851 MB / 0.5163 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.421, allocations: 11.97 kB / 0.5163 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.421, allocations: 23.88 kB / 0.5164 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4221, allocations: 0.6 MB / 0.5169 GB, free: 4.938 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4221, allocations: 0 / 0.5169 GB, free: 4.938 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4221, allocations: 4 kB / 0.517 GB, free: 4.934 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.4222, allocations: 0 / 0.517 GB, free: 4.934 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.0005988/0.4228, allocations: 454.4 kB / 0.5174 GB, free: 4.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4228, allocations: 12.03 kB / 0.5174 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.4239, allocations: 96.75 kB / 0.5175 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4242, allocations: 216.5 kB / 0.5177 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4242, allocations: 7.938 kB / 0.5177 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.4243, allocations: 7.984 kB / 0.5177 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.4245, allocations: 99.27 kB / 0.5178 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4245, allocations: 7.922 kB / 0.5178 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4245, allocations: 0 / 0.5178 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4245, allocations: 0 / 0.5178 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.4247, allocations: 47.89 kB / 0.5179 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.425, allocations: 206.9 kB / 0.5181 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.4255, allocations: 129 kB / 0.5182 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.4256, allocations: 37.75 kB / 0.5182 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005905/0.4262, allocations: 0.9862 MB / 0.5192 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4262, allocations: 35.44 kB / 0.5192 GB, free: 2.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4262, allocations: 4 kB / 0.5192 GB, free: 2.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000486/0.4267, allocations: 129.5 kB / 0.5193 GB, free: 2.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4268, allocations: 81.11 kB / 0.5194 GB, free: 1.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.427, allocations: 153.8 kB / 0.5196 GB, free: 1.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.427, allocations: 25.7 kB / 0.5196 GB, free: 1.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.427, allocations: 84.14 kB / 0.5197 GB, free: 1.703 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.4271, allocations: 27.75 kB / 0.5197 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.4272, allocations: 33.69 kB / 0.5197 GB, free: 1.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.4273, allocations: 314.8 kB / 0.52 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4274, allocations: 31.91 kB / 0.5201 GB, free: 1.289 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.4275, allocations: 51.41 kB / 0.5201 GB, free: 1.227 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.4277, allocations: 91.33 kB / 0.5202 GB, free: 1.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4277, allocations: 3.938 kB / 0.5202 GB, free: 1.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004291/0.4282, allocations: 114 kB / 0.5203 GB, free: 1.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4282, allocations: 4 kB / 0.5203 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4282, allocations: 4 kB / 0.5203 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4282, allocations: 0 / 0.5203 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.4284, allocations: 28.59 kB / 0.5203 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4284, allocations: 0 / 0.5203 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.4286, allocations: 15.94 kB / 0.5204 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.4286, allocations: 11.92 kB / 0.5204 GB, free: 0.9414 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.158e-05/0.4287, allocations: 117.8 kB / 0.5205 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.4287, allocations: 6.234 kB / 0.5205 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.4293, allocations: 240.8 kB / 0.5207 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.4293, allocations: 4 kB / 0.5207 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4294, allocations: 3.938 kB / 0.5207 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4294, allocations: 3.984 kB / 0.5207 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.4295, allocations: 214.9 kB / 0.5209 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4296, allocations: 0 / 0.5209 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.4297, allocations: 31.91 kB / 0.521 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4297, allocations: 4 kB / 0.521 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.4298, allocations: 3.984 kB / 0.521 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4298, allocations: 0 / 0.521 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4298, allocations: 3.938 kB / 0.521 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.4302, allocations: 181.8 kB / 0.5211 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.4303, allocations: 89.19 kB / 0.5212 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.4304, allocations: 4.812 kB / 0.5212 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.4305, allocations: 7.984 kB / 0.5212 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4306, allocations: 4 kB / 0.5212 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.4306, allocations: 7.984 kB / 0.5213 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.4308, allocations: 127.2 kB / 0.5214 GB, free: 15.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4308, allocations: 0 / 0.5214 GB, free: 15.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005609/0.4314, allocations: 171.5 kB / 0.5215 GB, free: 15.64 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.0009312/0.4323, allocations: 404.2 kB / 0.5219 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.4326, allocations: 75.88 kB / 0.522 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4326, allocations: 4.125 kB / 0.522 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.4328, allocations: 39.91 kB / 0.522 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.433, allocations: 17.73 kB / 0.5221 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.4336, allocations: 311.2 kB / 0.5224 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.4338, allocations: 0.6885 MB / 0.523 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005157/0.4343, allocations: 426.9 kB / 0.5234 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4344, allocations: 43.39 kB / 0.5235 GB, free: 13.61 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4344, allocations: 0 / 0.5235 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Templates: time 0.01031/0.4448, allocations: 6.13 MB / 0.5295 GB, free: 7.477 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