Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 109.4 kB / 18.4 MB, free: 4.699 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.001742/0.001742, allocations: 187.1 kB / 19.33 MB, free: 3.781 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.373/1.373, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001381/0.001381, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09511, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002827/0.09799, allocations: 1.369 MB / 377.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3577/0.4558, allocations: 150.8 MB / 0.5156 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.4559, allocations: 0 / 0.5156 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.912e-05/0.456, allocations: 9.797 kB / 0.5156 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.4574, allocations: 346.5 kB / 0.5159 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.4596, allocations: 0.8115 MB / 0.5167 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.4597, allocations: 75.64 kB / 0.5168 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.4598, allocations: 3.938 kB / 0.5168 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.4599, allocations: 35.84 kB / 0.5168 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.4599, allocations: 39.84 kB / 0.5168 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.46, allocations: 0 / 0.5168 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.4626, allocations: 1.407 MB / 0.5182 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.4627, allocations: 15.97 kB / 0.5182 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.4628, allocations: 27.81 kB / 0.5183 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.4642, allocations: 0.8536 MB / 0.5191 GB, free: 3.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4642, allocations: 4 kB / 0.5191 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4642, allocations: 0 / 0.5191 GB, free: 3.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4642, allocations: 0 / 0.5191 GB, free: 3.43 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.0006783/0.4649, allocations: 467.8 kB / 0.5195 GB, free: 2.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.465, allocations: 12.03 kB / 0.5195 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.4653, allocations: 36.89 kB / 0.5196 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.4655, allocations: 196.2 kB / 0.5198 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.4655, allocations: 4.562 kB / 0.5198 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.4656, allocations: 15.81 kB / 0.5198 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4657, allocations: 71.39 kB / 0.5199 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4658, allocations: 3.984 kB / 0.5199 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4658, allocations: 0 / 0.5199 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4658, allocations: 0 / 0.5199 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.4659, allocations: 43.97 kB / 0.5199 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.4661, allocations: 198.4 kB / 0.5201 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.4664, allocations: 113.2 kB / 0.5202 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.4665, allocations: 41.62 kB / 0.5202 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.4671, allocations: 141 kB / 0.5204 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4671, allocations: 42.5 kB / 0.5204 GB, free: 1.871 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4671, allocations: 0 / 0.5204 GB, free: 1.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003597/0.4675, allocations: 117.6 kB / 0.5205 GB, free: 1.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4676, allocations: 77.11 kB / 0.5206 GB, free: 1.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.4677, allocations: 147.2 kB / 0.5207 GB, free: 1.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.4677, allocations: 25.7 kB / 0.5208 GB, free: 1.473 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.4678, allocations: 88.14 kB / 0.5209 GB, free: 1.383 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.4678, allocations: 19.66 kB / 0.5209 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.4679, allocations: 25.7 kB / 0.5209 GB, free: 1.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.468, allocations: 310.8 kB / 0.5212 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.4681, allocations: 35.97 kB / 0.5212 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.4682, allocations: 47.42 kB / 0.5213 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4683, allocations: 79.34 kB / 0.5213 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4683, allocations: 4.875 kB / 0.5214 GB, free: 0.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002491/0.4686, allocations: 109.8 kB / 0.5215 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4686, allocations: 4 kB / 0.5215 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4686, allocations: 0 / 0.5215 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4686, allocations: 8.031 kB / 0.5215 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.4687, allocations: 23.97 kB / 0.5215 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.4687, allocations: 0.5469 kB / 0.5215 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.4688, allocations: 7.938 kB / 0.5215 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4688, allocations: 6.75 kB / 0.5215 GB, free: 0.6719 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 9.114e-05/0.4689, allocations: 121.8 kB / 0.5216 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.469, allocations: 7.844 kB / 0.5216 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.4692, allocations: 116.5 kB / 0.5217 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4692, allocations: 4 kB / 0.5217 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4692, allocations: 0 / 0.5217 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4692, allocations: 0 / 0.5217 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4694, allocations: 189.5 kB / 0.5219 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4694, allocations: 0 / 0.5219 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.4695, allocations: 23.88 kB / 0.5219 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4695, allocations: 0 / 0.5219 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4695, allocations: 3.984 kB / 0.522 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4695, allocations: 4 kB / 0.522 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4695, allocations: 0 / 0.522 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.4699, allocations: 154.7 kB / 0.5221 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.47, allocations: 93.06 kB / 0.5222 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.47, allocations: 8 kB / 0.5222 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.122e-05/0.47, allocations: 0 / 0.5222 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.4701, allocations: 7.984 kB / 0.5222 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.4701, allocations: 0.875 kB / 0.5222 GB, free: 15.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.4702, allocations: 115.8 kB / 0.5223 GB, free: 15.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4702, allocations: 0 / 0.5223 GB, free: 15.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006489/0.4708, allocations: 203.8 kB / 0.5225 GB, free: 15.54 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001125/0.472, allocations: 0.5257 MB / 0.523 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.4722, allocations: 63.91 kB / 0.5231 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4722, allocations: 0 / 0.5231 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.4723, allocations: 27.97 kB / 0.5231 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.4725, allocations: 27.97 kB / 0.5231 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.4731, allocations: 328.9 kB / 0.5235 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.4733, allocations: 0.6923 MB / 0.5241 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.4734, allocations: 23.42 kB / 0.5242 GB, free: 13.8 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4734, allocations: 4 kB / 0.5242 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Templates: time 0.007429/0.4808, allocations: 4.846 MB / 0.5289 GB, free: 8.941 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches