Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007681/0.0007682, allocations: 95.77 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001077/0.1881, allocations: 1.083 MB / 413.1 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2837/0.4718, allocations: 138.2 MB / 0.5384 GB, free: 13.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.4718, allocations: 0.8438 kB / 0.5384 GB, free: 13.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.4719, allocations: 2.016 kB / 0.5384 GB, free: 13.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006937/0.4726, allocations: 215 kB / 0.5386 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.4733, allocations: 336.8 kB / 0.5389 GB, free: 13.51 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.4734, allocations: 57.92 kB / 0.539 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.917e-05/0.4735, allocations: 3.344 kB / 0.539 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.4735, allocations: 20.14 kB / 0.539 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.4736, allocations: 34.52 kB / 0.539 GB, free: 13.49 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.4736, allocations: 0 / 0.539 GB, free: 13.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000887/0.4745, allocations: 0.5983 MB / 0.5396 GB, free: 13.44 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.4745, allocations: 4.406 kB / 0.5396 GB, free: 13.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.4746, allocations: 53.34 kB / 0.5397 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.4752, allocations: 0.4955 MB / 0.5401 GB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4752, allocations: 0 / 0.5401 GB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4752, allocations: 0 / 0.5401 GB, free: 13.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.4752, allocations: 0 / 0.5401 GB, free: 13.38 MB / 394.7 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.0004436/0.4757, allocations: 423.6 kB / 0.5405 GB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.4757, allocations: 8.688 kB / 0.5406 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.4769, allocations: 111.4 kB / 0.5407 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.4772, allocations: 215.1 kB / 0.5409 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4772, allocations: 2.906 kB / 0.5409 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.4772, allocations: 11.41 kB / 0.5409 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4774, allocations: 92.64 kB / 0.541 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4774, allocations: 7.984 kB / 0.541 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4775, allocations: 3.344 kB / 0.541 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4775, allocations: 0 / 0.541 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.4776, allocations: 50.22 kB / 0.541 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.4779, allocations: 206.2 kB / 0.5412 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.4783, allocations: 126.6 kB / 0.5413 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.4784, allocations: 36.75 kB / 0.5414 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/0.479, allocations: 0.9864 MB / 0.5423 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.479, allocations: 36.5 kB / 0.5424 GB, free: 11.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4791, allocations: 4 kB / 0.5424 GB, free: 11.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004105/0.4795, allocations: 128.6 kB / 0.5425 GB, free: 11.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4795, allocations: 81.05 kB / 0.5426 GB, free: 11.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.4797, allocations: 152.8 kB / 0.5427 GB, free: 10.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.4797, allocations: 25.7 kB / 0.5428 GB, free: 10.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.4798, allocations: 91.94 kB / 0.5428 GB, free: 10.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.4798, allocations: 17.62 kB / 0.5429 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.4798, allocations: 4 kB / 0.5429 GB, free: 10.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.4799, allocations: 324.5 kB / 0.5432 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.48, allocations: 23.2 kB / 0.5432 GB, free: 10.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.4801, allocations: 53.47 kB / 0.5432 GB, free: 10.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.4803, allocations: 86.05 kB / 0.5433 GB, free: 10.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.4803, allocations: 0 / 0.5433 GB, free: 10.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002834/0.4806, allocations: 121.1 kB / 0.5434 GB, free: 10.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4807, allocations: 4.969 kB / 0.5434 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4807, allocations: 0 / 0.5434 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4807, allocations: 2.938 kB / 0.5434 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4808, allocations: 28.28 kB / 0.5435 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4808, allocations: 6.828 kB / 0.5435 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.481, allocations: 8.875 kB / 0.5435 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.481, allocations: 10.11 kB / 0.5435 GB, free: 10.27 MB / 394.7 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 7.186e-05/0.4811, allocations: 126.1 kB / 0.5436 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.4812, allocations: 10.62 kB / 0.5436 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.4817, allocations: 234.3 kB / 0.5439 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4817, allocations: 2.906 kB / 0.5439 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4817, allocations: 3.984 kB / 0.5439 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4817, allocations: 0 / 0.5439 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.4819, allocations: 211.8 kB / 0.5441 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4819, allocations: 0 / 0.5441 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.482, allocations: 22.59 kB / 0.5441 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4821, allocations: 6.875 kB / 0.5441 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4821, allocations: 7.922 kB / 0.5441 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4821, allocations: 2.5 kB / 0.5441 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4821, allocations: 0 / 0.5441 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.4825, allocations: 172.7 kB / 0.5443 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.4825, allocations: 99.91 kB / 0.5444 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.4826, allocations: 11.38 kB / 0.5444 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.4828, allocations: 6.922 kB / 0.5444 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.4828, allocations: 13.12 kB / 0.5444 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4828, allocations: 6.469 kB / 0.5444 GB, free: 9.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.483, allocations: 132.4 kB / 0.5445 GB, free: 9.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.483, allocations: 0 / 0.5445 GB, free: 9.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004061/0.4834, allocations: 131 kB / 0.5446 GB, free: 9.477 MB / 394.7 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.000637/0.484, allocations: 335.5 kB / 0.545 GB, free: 9.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.4843, allocations: 79.22 kB / 0.545 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4843, allocations: 0 / 0.545 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4844, allocations: 38.36 kB / 0.5451 GB, free: 9.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.4846, allocations: 19.36 kB / 0.5451 GB, free: 9.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.4851, allocations: 354.2 kB / 0.5454 GB, free: 8.973 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4854, allocations: 0.6903 MB / 0.5461 GB, free: 8.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000529/0.4859, allocations: 425.7 kB / 0.5465 GB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.486, allocations: 43.17 kB / 0.5466 GB, free: 8.055 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4861, allocations: 0 / 0.5466 GB, free: 8.055 MB / 394.7 MB Notification: Performance of Templates: time 0.007765/0.4938, allocations: 5.057 MB / 0.5515 GB, free: 5.434 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches