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.001068/0.001068, allocations: 109.4 kB / 17.73 MB, free: 5.34 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.001031/0.001032, allocations: 184.1 kB / 18.66 MB, free: 4.414 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.321/1.321, allocations: 205.1 MB / 224.5 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.001155/0.001155, allocations: 51.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.09075, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.003442/0.09425, allocations: 1.372 MB / 376.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.378/0.4723, allocations: 150.8 MB / 0.5149 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.4725, allocations: 3.938 kB / 0.5149 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.4725, allocations: 3.984 kB / 0.5149 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.4739, allocations: 354.5 kB / 0.5152 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.4763, allocations: 0.8134 MB / 0.516 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.4764, allocations: 71.7 kB / 0.5161 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.4765, allocations: 7.969 kB / 0.5161 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.4766, allocations: 31.86 kB / 0.5161 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.4767, allocations: 35.84 kB / 0.5162 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.4767, allocations: 0 / 0.5162 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.4793, allocations: 1.415 MB / 0.5176 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.4793, allocations: 11.97 kB / 0.5176 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.4794, allocations: 27.88 kB / 0.5176 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.481, allocations: 0.8611 MB / 0.5184 GB, free: 3.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4811, allocations: 3.938 kB / 0.5184 GB, free: 3.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4811, allocations: 0 / 0.5184 GB, free: 3.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4811, allocations: 0 / 0.5184 GB, free: 3.383 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.0006903/0.4818, allocations: 482.1 kB / 0.5189 GB, free: 2.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.4818, allocations: 12.03 kB / 0.5189 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.4822, allocations: 32.89 kB / 0.5189 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.4823, allocations: 201.4 kB / 0.5191 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4824, allocations: 4.562 kB / 0.5191 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.4824, allocations: 11.88 kB / 0.5192 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.4826, allocations: 75.38 kB / 0.5192 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4826, allocations: 0 / 0.5192 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4826, allocations: 0 / 0.5192 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4826, allocations: 0 / 0.5192 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4827, allocations: 47.91 kB / 0.5193 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.4829, allocations: 194.6 kB / 0.5195 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.4832, allocations: 117.2 kB / 0.5196 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/0.4833, allocations: 33.64 kB / 0.5196 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/0.4839, allocations: 141 kB / 0.5197 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4839, allocations: 42.55 kB / 0.5198 GB, free: 1.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4839, allocations: 0 / 0.5198 GB, free: 1.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003532/0.4843, allocations: 117.6 kB / 0.5199 GB, free: 1.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4843, allocations: 77.11 kB / 0.52 GB, free: 1.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4844, allocations: 143 kB / 0.5201 GB, free: 1.453 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.4845, allocations: 25.7 kB / 0.5201 GB, free: 1.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.4845, allocations: 88.14 kB / 0.5202 GB, free: 1.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.4845, allocations: 27.73 kB / 0.5202 GB, free: 1.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.4846, allocations: 21.72 kB / 0.5203 GB, free: 1.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.4847, allocations: 322.8 kB / 0.5206 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.4847, allocations: 23.98 kB / 0.5206 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.4848, allocations: 51.36 kB / 0.5206 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.485, allocations: 87.72 kB / 0.5207 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.485, allocations: 0 / 0.5207 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000251/0.4853, allocations: 117.5 kB / 0.5208 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4853, allocations: 4 kB / 0.5208 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4853, allocations: 0 / 0.5208 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4853, allocations: 4 kB / 0.5208 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.4854, allocations: 12 kB / 0.5208 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4854, allocations: 3.984 kB / 0.5209 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.4855, allocations: 12 kB / 0.5209 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4855, allocations: 8 kB / 0.5209 GB, free: 0.6055 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 6.76e-05/0.4855, allocations: 113.8 kB / 0.521 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.4856, allocations: 8.766 kB / 0.521 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4859, allocations: 115.9 kB / 0.5211 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.4859, allocations: 4 kB / 0.5211 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4859, allocations: 0 / 0.5211 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4859, allocations: 0 / 0.5211 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.486, allocations: 185.6 kB / 0.5213 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.486, allocations: 0 / 0.5213 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.202e-05/0.4861, allocations: 22.67 kB / 0.5213 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4861, allocations: 0 / 0.5213 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4861, allocations: 0 / 0.5213 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4862, allocations: 4 kB / 0.5213 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4862, allocations: 0 / 0.5213 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.4865, allocations: 165.8 kB / 0.5215 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.4866, allocations: 97.02 kB / 0.5216 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.4866, allocations: 4 kB / 0.5216 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.4866, allocations: 3.984 kB / 0.5216 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4867, allocations: 4 kB / 0.5216 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.4867, allocations: 4 kB / 0.5216 GB, free: 15.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.4868, allocations: 119.6 kB / 0.5217 GB, free: 15.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4868, allocations: 0 / 0.5217 GB, free: 15.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005716/0.4874, allocations: 203.3 kB / 0.5219 GB, free: 15.47 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.001265/0.4886, allocations: 0.5201 MB / 0.5224 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.4889, allocations: 67.97 kB / 0.5225 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4889, allocations: 0 / 0.5225 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.489, allocations: 31.92 kB / 0.5225 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4892, allocations: 34.92 kB / 0.5225 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.4897, allocations: 292.3 kB / 0.5228 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.49, allocations: 0.6885 MB / 0.5235 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.49, allocations: 20.22 kB / 0.5235 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.4901, allocations: 19.38 kB / 0.5235 GB, free: 13.75 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4901, allocations: 0 / 0.5235 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Templates: time 0.01096/0.5011, allocations: 6.116 MB / 0.5295 GB, free: 7.633 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/jenkins/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/jenkins/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