Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 60.19 kB / 307 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.09132, allocations: 50.54 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002422/0.09377, allocations: 1.377 MB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3123/0.4061, allocations: 151.9 MB / 0.4989 GB, free: 2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.4062, allocations: 1.969 kB / 0.4989 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.4063, allocations: 11.86 kB / 0.4989 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.4074, allocations: 368.9 kB / 0.4992 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4085, allocations: 0.5071 MB / 0.4997 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.4086, allocations: 71.69 kB / 0.4998 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.4087, allocations: 7.938 kB / 0.4998 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.4087, allocations: 31.86 kB / 0.4998 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.4088, allocations: 31.91 kB / 0.4998 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.4088, allocations: 0 / 0.4998 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.4107, allocations: 1.068 MB / 0.5009 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.4107, allocations: 23.91 kB / 0.5009 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.4108, allocations: 27.86 kB / 0.5009 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.4119, allocations: 0.7016 MB / 0.5016 GB, free: 15.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.4119, allocations: 0 / 0.5016 GB, free: 15.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4119, allocations: 0 / 0.5016 GB, free: 15.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.4119, allocations: 0 / 0.5016 GB, free: 15.17 MB / 430.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.0006185/0.4125, allocations: 455.7 kB / 0.5021 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.4125, allocations: 8.031 kB / 0.5021 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/0.413, allocations: 72.75 kB / 0.5021 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.4132, allocations: 196.4 kB / 0.5023 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4132, allocations: 7.938 kB / 0.5023 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.4133, allocations: 6.438 kB / 0.5023 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.4134, allocations: 75.39 kB / 0.5024 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4135, allocations: 0 / 0.5024 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.4135, allocations: 0 / 0.5024 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4135, allocations: 3.984 kB / 0.5024 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.4136, allocations: 47.91 kB / 0.5025 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.4138, allocations: 198.5 kB / 0.5026 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.4141, allocations: 117.1 kB / 0.5028 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.4142, allocations: 33.77 kB / 0.5028 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/0.4147, allocations: 145 kB / 0.5029 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.4148, allocations: 30.56 kB / 0.503 GB, free: 13.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4148, allocations: 0 / 0.503 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003535/0.4151, allocations: 121.5 kB / 0.5031 GB, free: 13.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.4152, allocations: 81.11 kB / 0.5032 GB, free: 13.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4153, allocations: 139.2 kB / 0.5033 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4154, allocations: 29.7 kB / 0.5033 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.4154, allocations: 88.12 kB / 0.5034 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.4155, allocations: 19.72 kB / 0.5034 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.4155, allocations: 21.7 kB / 0.5034 GB, free: 13.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4156, allocations: 318.8 kB / 0.5037 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-05/0.4157, allocations: 23.98 kB / 0.5038 GB, free: 12.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.4158, allocations: 55.39 kB / 0.5038 GB, free: 12.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.416, allocations: 79.72 kB / 0.5039 GB, free: 12.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.416, allocations: 7.938 kB / 0.5039 GB, free: 12.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000273/0.4163, allocations: 117.4 kB / 0.504 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4163, allocations: 6.969 kB / 0.504 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4163, allocations: 4 kB / 0.504 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4163, allocations: 0 / 0.504 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.4164, allocations: 19.98 kB / 0.504 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4164, allocations: 4 kB / 0.504 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.4165, allocations: 3.938 kB / 0.504 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4165, allocations: 8.062 kB / 0.5041 GB, free: 12.39 MB / 430.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.498e-05/0.4166, allocations: 121.8 kB / 0.5042 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.4166, allocations: 7.906 kB / 0.5042 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.4169, allocations: 111 kB / 0.5043 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4169, allocations: 0 / 0.5043 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4169, allocations: 0 / 0.5043 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4169, allocations: 0 / 0.5043 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.4171, allocations: 181.6 kB / 0.5045 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4171, allocations: 7.938 kB / 0.5045 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.4172, allocations: 16.56 kB / 0.5045 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4172, allocations: 0 / 0.5045 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4172, allocations: 8 kB / 0.5045 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4172, allocations: 0 / 0.5045 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4172, allocations: 1.875 kB / 0.5045 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.4176, allocations: 165.8 kB / 0.5047 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.4177, allocations: 89 kB / 0.5047 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4177, allocations: 4.031 kB / 0.5047 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.4177, allocations: 0 / 0.5047 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.4178, allocations: 15.92 kB / 0.5048 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.4178, allocations: 4 kB / 0.5048 GB, free: 11.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.641e-05/0.4179, allocations: 111.2 kB / 0.5049 GB, free: 11.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4179, allocations: 0 / 0.5049 GB, free: 11.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.4184, allocations: 163.8 kB / 0.505 GB, free: 11.3 MB / 430.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.001038/0.4195, allocations: 442.6 kB / 0.5054 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.4197, allocations: 63.89 kB / 0.5055 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4197, allocations: 0 / 0.5055 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.4198, allocations: 35.92 kB / 0.5055 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.42, allocations: 29.17 kB / 0.5056 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.4206, allocations: 302.8 kB / 0.5059 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4209, allocations: 0.6969 MB / 0.5065 GB, free: 9.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.371e-05/0.421, allocations: 7.953 kB / 0.5065 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.421, allocations: 15.44 kB / 0.5066 GB, free: 9.68 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.421, allocations: 0 / 0.5066 GB, free: 9.68 MB / 430.1 MB Notification: Performance of Templates: time 0.00915/0.4302, allocations: 4.65 MB / 0.5111 GB, free: 5.047 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches