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.001375/0.001375, allocations: 112 kB / 18.37 MB, free: 4.719 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.001336/0.001336, allocations: 184.5 kB / 19.3 MB, free: 3.801 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.482/1.482, allocations: 205.1 MB / 225.2 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.001201/0.001201, allocations: 55.92 kB / 329.1 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09611, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002408/0.09857, allocations: 1.349 MB / 377.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3672/0.4658, allocations: 150.4 MB / 0.5151 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.466, allocations: 7.938 kB / 0.5151 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.466, allocations: 3.984 kB / 0.5151 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.4671, allocations: 242.8 kB / 0.5153 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.4691, allocations: 0.6283 MB / 0.516 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.4692, allocations: 51.72 kB / 0.516 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.4693, allocations: 8 kB / 0.516 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.4694, allocations: 27.91 kB / 0.516 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.4695, allocations: 27.86 kB / 0.5161 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.4695, allocations: 0 / 0.5161 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.4713, allocations: 0.885 MB / 0.5169 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.4713, allocations: 11.92 kB / 0.5169 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.4714, allocations: 19.92 kB / 0.517 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.4725, allocations: 0.6043 MB / 0.5176 GB, free: 4.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4725, allocations: 0 / 0.5176 GB, free: 4.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.4726, allocations: 0 / 0.5176 GB, free: 4.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.4726, allocations: 7.938 kB / 0.5176 GB, free: 4.973 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.0005726/0.4731, allocations: 455.8 kB / 0.518 GB, free: 4.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4732, allocations: 8.031 kB / 0.518 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.4743, allocations: 96.64 kB / 0.5181 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.4746, allocations: 218 kB / 0.5183 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4746, allocations: 7.938 kB / 0.5183 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.4747, allocations: 8 kB / 0.5183 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.4749, allocations: 83.33 kB / 0.5184 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.4749, allocations: 0 / 0.5184 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.4749, allocations: 4 kB / 0.5184 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.4749, allocations: 4 kB / 0.5184 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.4751, allocations: 47.88 kB / 0.5185 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.4754, allocations: 206.9 kB / 0.5187 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.4759, allocations: 133.1 kB / 0.5188 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.476, allocations: 37.69 kB / 0.5188 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008621/0.4769, allocations: 0.9823 MB / 0.5198 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.4769, allocations: 38.55 kB / 0.5198 GB, free: 2.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.4769, allocations: 4 kB / 0.5198 GB, free: 2.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005058/0.4774, allocations: 125.5 kB / 0.5199 GB, free: 2.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.4775, allocations: 77.11 kB / 0.52 GB, free: 2.043 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.4777, allocations: 157.8 kB / 0.5202 GB, free: 1.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4777, allocations: 25.7 kB / 0.5202 GB, free: 1.848 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.4778, allocations: 88.14 kB / 0.5203 GB, free: 1.758 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.4778, allocations: 19.64 kB / 0.5203 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.4779, allocations: 33.69 kB / 0.5203 GB, free: 1.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.478, allocations: 318.8 kB / 0.5206 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.4781, allocations: 27.95 kB / 0.5206 GB, free: 1.352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4783, allocations: 59.34 kB / 0.5207 GB, free: 1.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.4785, allocations: 83.7 kB / 0.5208 GB, free: 1.188 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4785, allocations: 3.938 kB / 0.5208 GB, free: 1.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003456/0.4789, allocations: 133.4 kB / 0.5209 GB, free: 1.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4789, allocations: 4 kB / 0.5209 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4789, allocations: 0 / 0.5209 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4789, allocations: 4.875 kB / 0.5209 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4791, allocations: 23.97 kB / 0.5209 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.4791, allocations: 5.016 kB / 0.521 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.4793, allocations: 7.984 kB / 0.521 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.4793, allocations: 8 kB / 0.521 GB, free: 0.9961 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.186e-05/0.4794, allocations: 117.8 kB / 0.5211 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.4794, allocations: 11.89 kB / 0.5211 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00066/0.4801, allocations: 237.1 kB / 0.5213 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4801, allocations: 0 / 0.5213 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4801, allocations: 4 kB / 0.5213 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4801, allocations: 4 kB / 0.5213 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.4804, allocations: 218.9 kB / 0.5215 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4804, allocations: 3.938 kB / 0.5215 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.4806, allocations: 23.91 kB / 0.5216 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4806, allocations: 0 / 0.5216 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.4806, allocations: 8 kB / 0.5216 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4806, allocations: 0 / 0.5216 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4806, allocations: 0 / 0.5216 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.481, allocations: 181.7 kB / 0.5217 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.4811, allocations: 96.98 kB / 0.5218 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.4812, allocations: 0 / 0.5218 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4813, allocations: 8 kB / 0.5218 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.4814, allocations: 8.031 kB / 0.5218 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.4814, allocations: 0 / 0.5218 GB, free: 15.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4816, allocations: 136.9 kB / 0.522 GB, free: 15.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4816, allocations: 0 / 0.522 GB, free: 15.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.4822, allocations: 171.9 kB / 0.5221 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.001044/0.4833, allocations: 398.9 kB / 0.5225 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.4836, allocations: 75.88 kB / 0.5226 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4836, allocations: 0 / 0.5226 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4837, allocations: 35.92 kB / 0.5226 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.0002507/0.484, allocations: 15.92 kB / 0.5226 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.4847, allocations: 332.7 kB / 0.523 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.485, allocations: 0.6885 MB / 0.5236 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.4851, allocations: 43.39 kB / 0.5237 GB, free: 14.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4852, allocations: 0 / 0.5237 GB, free: 14.07 MB / 462.1 MB Notification: Performance of Templates: time 0.009234/0.4944, allocations: 4.693 MB / 0.5283 GB, free: 9.367 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