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.001357/0.001357, allocations: 105.4 kB / 18.4 MB, free: 4.66 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.001538/0.001538, allocations: 189.1 kB / 19.33 MB, free: 3.738 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.369/1.369, allocations: 205.1 MB / 225.2 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.00158/0.00158, allocations: 55.91 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1032, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002676/0.1059, allocations: 1.353 MB / 377.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.344/0.4499, allocations: 150.4 MB / 0.5152 GB, free: 7.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.4501, allocations: 0 / 0.5152 GB, free: 7.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.4502, allocations: 3.938 kB / 0.5152 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.4513, allocations: 230.8 kB / 0.5154 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.4531, allocations: 0.6297 MB / 0.516 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.4532, allocations: 67.59 kB / 0.5161 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.4533, allocations: 1.688 kB / 0.5161 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.4533, allocations: 27.91 kB / 0.5161 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.4534, allocations: 31.91 kB / 0.5161 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4534, allocations: 0 / 0.5161 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.4552, allocations: 0.8858 MB / 0.517 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.4552, allocations: 8 kB / 0.517 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.4553, allocations: 23.86 kB / 0.517 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.4566, allocations: 0.6003 MB / 0.5176 GB, free: 4.953 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4566, allocations: 4 kB / 0.5176 GB, free: 4.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4566, allocations: 0 / 0.5176 GB, free: 4.949 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.4566, allocations: 0 / 0.5176 GB, free: 4.949 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.0006689/0.4573, allocations: 447.9 kB / 0.518 GB, free: 4.465 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4573, allocations: 8.031 kB / 0.518 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.4585, allocations: 100.7 kB / 0.5181 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.4588, allocations: 222 kB / 0.5183 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.4588, allocations: 7.938 kB / 0.5184 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.4589, allocations: 0 / 0.5184 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.4591, allocations: 95.27 kB / 0.5184 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4591, allocations: 3.938 kB / 0.5185 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.4592, allocations: 4 kB / 0.5185 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.4592, allocations: 0 / 0.5185 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.4594, allocations: 47.95 kB / 0.5185 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.4596, allocations: 206.8 kB / 0.5187 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.4601, allocations: 133 kB / 0.5188 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.4603, allocations: 41.75 kB / 0.5189 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/0.4609, allocations: 0.9862 MB / 0.5198 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4609, allocations: 30.56 kB / 0.5199 GB, free: 2.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.461, allocations: 0 / 0.5199 GB, free: 2.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004864/0.4614, allocations: 137.5 kB / 0.52 GB, free: 2.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4615, allocations: 81.09 kB / 0.5201 GB, free: 2.004 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.4617, allocations: 157.8 kB / 0.5202 GB, free: 1.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4617, allocations: 25.7 kB / 0.5202 GB, free: 1.809 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.4618, allocations: 80.14 kB / 0.5203 GB, free: 1.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.4618, allocations: 27.64 kB / 0.5203 GB, free: 1.699 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.4619, allocations: 29.7 kB / 0.5204 GB, free: 1.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.462, allocations: 318.8 kB / 0.5207 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.4621, allocations: 31.97 kB / 0.5207 GB, free: 1.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4622, allocations: 52.28 kB / 0.5208 GB, free: 1.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.4625, allocations: 83.34 kB / 0.5208 GB, free: 1.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4625, allocations: 3.938 kB / 0.5208 GB, free: 1.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003426/0.4628, allocations: 121.5 kB / 0.521 GB, free: 1.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4629, allocations: 4 kB / 0.521 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4629, allocations: 4 kB / 0.521 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4629, allocations: 0 / 0.521 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.463, allocations: 31.91 kB / 0.521 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4631, allocations: 1.016 kB / 0.521 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.4633, allocations: 10.56 kB / 0.521 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4633, allocations: 7.984 kB / 0.521 GB, free: 0.9727 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.802e-05/0.4634, allocations: 117.8 kB / 0.5211 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.4634, allocations: 11.84 kB / 0.5211 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005979/0.464, allocations: 240.9 kB / 0.5214 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4641, allocations: 0 / 0.5214 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4641, allocations: 0 / 0.5214 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4641, allocations: 4.453 kB / 0.5214 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.4643, allocations: 222.9 kB / 0.5216 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4643, allocations: 0 / 0.5216 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.4645, allocations: 23.97 kB / 0.5216 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4645, allocations: 0 / 0.5216 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4645, allocations: 0 / 0.5216 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4645, allocations: 4 kB / 0.5216 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4645, allocations: 7.938 kB / 0.5216 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.465, allocations: 181.7 kB / 0.5218 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.4651, allocations: 93.03 kB / 0.5219 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.4651, allocations: 4.859 kB / 0.5219 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4653, allocations: 8.062 kB / 0.5219 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.4654, allocations: 11.98 kB / 0.5219 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4654, allocations: 4 kB / 0.5219 GB, free: 15.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.4655, allocations: 128.9 kB / 0.522 GB, free: 15.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4656, allocations: 0 / 0.522 GB, free: 15.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000575/0.4661, allocations: 167.9 kB / 0.5222 GB, free: 15.67 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.0009904/0.4671, allocations: 406.7 kB / 0.5226 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4675, allocations: 79.92 kB / 0.5227 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4675, allocations: 3.938 kB / 0.5227 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.4676, allocations: 35.98 kB / 0.5227 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.4679, allocations: 20.05 kB / 0.5227 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.4685, allocations: 316.1 kB / 0.523 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.4687, allocations: 0.6924 MB / 0.5237 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.4689, allocations: 39.39 kB / 0.5237 GB, free: 14.04 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4689, allocations: 0 / 0.5237 GB, free: 14.04 MB / 462.1 MB Notification: Performance of Templates: time 0.007904/0.4768, allocations: 4.693 MB / 0.5283 GB, free: 9.336 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/jenkins1/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/jenkins1/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