Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 191.8 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.5 MB / 244.7 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007686/0.0007686, allocations: 95.16 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00021/0.0002102, allocations: 4 kB / 356.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1861, allocations: 51.29 MB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.0009891/0.1871, allocations: 1.088 MB / 409.1 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2989/0.4861, allocations: 135.4 MB / 0.5318 GB, free: 13.38 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.4862, allocations: 7.938 kB / 0.5318 GB, free: 13.37 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.4862, allocations: 2.016 kB / 0.5318 GB, free: 13.37 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.4872, allocations: 320.2 kB / 0.5321 GB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.4882, allocations: 448.8 kB / 0.5325 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.4883, allocations: 85.75 kB / 0.5326 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.4884, allocations: 0 / 0.5326 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.4884, allocations: 38.66 kB / 0.5327 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.4885, allocations: 36.27 kB / 0.5327 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.4885, allocations: 0 / 0.5327 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.4906, allocations: 1.233 MB / 0.5339 GB, free: 13.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.4907, allocations: 17.72 kB / 0.5339 GB, free: 13.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.4907, allocations: 57.03 kB / 0.534 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.4916, allocations: 0.5183 MB / 0.5345 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4916, allocations: 0 / 0.5345 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4916, allocations: 0 / 0.5345 GB, free: 13.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.4916, allocations: 0 / 0.5345 GB, free: 13.02 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.0005503/0.4922, allocations: 446.7 kB / 0.5349 GB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.4922, allocations: 8.75 kB / 0.5349 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.4927, allocations: 72.58 kB / 0.535 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4928, allocations: 190.8 kB / 0.5352 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4928, allocations: 15.12 kB / 0.5352 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.4929, allocations: 3.344 kB / 0.5352 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.493, allocations: 67.44 kB / 0.5352 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.493, allocations: 3.094 kB / 0.5352 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.493, allocations: 0 / 0.5352 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.493, allocations: 0 / 0.5352 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.4931, allocations: 55.11 kB / 0.5353 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.4933, allocations: 190.8 kB / 0.5355 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.4936, allocations: 114.7 kB / 0.5356 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.4937, allocations: 35.27 kB / 0.5356 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/0.4941, allocations: 136.9 kB / 0.5357 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.4942, allocations: 40.36 kB / 0.5358 GB, free: 11.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4942, allocations: 1.859 kB / 0.5358 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003003/0.4945, allocations: 118 kB / 0.5359 GB, free: 11.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.4945, allocations: 83.95 kB / 0.536 GB, free: 11.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4946, allocations: 140 kB / 0.5361 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.4947, allocations: 25.7 kB / 0.5361 GB, free: 11.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.4947, allocations: 86.27 kB / 0.5362 GB, free: 11.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.4948, allocations: 28.27 kB / 0.5362 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4948, allocations: 0 / 0.5362 GB, free: 11.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4949, allocations: 324.4 kB / 0.5366 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.495, allocations: 20 kB / 0.5366 GB, free: 11.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.4951, allocations: 47.72 kB / 0.5366 GB, free: 11.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.4952, allocations: 82.72 kB / 0.5367 GB, free: 11.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4952, allocations: 7.938 kB / 0.5367 GB, free: 11.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002138/0.4954, allocations: 108.9 kB / 0.5368 GB, free: 11.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4954, allocations: 6.844 kB / 0.5368 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4955, allocations: 2.938 kB / 0.5368 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4955, allocations: 1.969 kB / 0.5368 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.4955, allocations: 16.53 kB / 0.5368 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4956, allocations: 0 / 0.5368 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.4956, allocations: 10.53 kB / 0.5369 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4956, allocations: 8.938 kB / 0.5369 GB, free: 11.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.161e-05/0.4957, allocations: 115.2 kB / 0.537 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.4958, allocations: 10.94 kB / 0.537 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.496, allocations: 114.4 kB / 0.5371 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.496, allocations: 2.469 kB / 0.5371 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.496, allocations: 2.484 kB / 0.5371 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.496, allocations: 0 / 0.5371 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.4962, allocations: 184.9 kB / 0.5373 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4962, allocations: 4 kB / 0.5373 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.4963, allocations: 17.36 kB / 0.5373 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4963, allocations: 0 / 0.5373 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.4963, allocations: 6.75 kB / 0.5373 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4963, allocations: 1.859 kB / 0.5373 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4963, allocations: 0 / 0.5373 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4966, allocations: 162.8 kB / 0.5375 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.4967, allocations: 92.62 kB / 0.5375 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4967, allocations: 2.844 kB / 0.5375 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.4968, allocations: 0 / 0.5375 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.4968, allocations: 11.22 kB / 0.5376 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.4968, allocations: 2.203 kB / 0.5376 GB, free: 10.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.342e-05/0.4969, allocations: 115.9 kB / 0.5377 GB, free: 10.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4969, allocations: 0 / 0.5377 GB, free: 10.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.4974, allocations: 164.2 kB / 0.5378 GB, free: 10.47 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.4985, allocations: 440.9 kB / 0.5382 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.4986, allocations: 64.92 kB / 0.5383 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4987, allocations: 0 / 0.5383 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.4987, allocations: 29.38 kB / 0.5383 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.499, allocations: 30.97 kB / 0.5384 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.4995, allocations: 392.1 kB / 0.5387 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.4998, allocations: 0.6971 MB / 0.5394 GB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.4998, allocations: 19.66 kB / 0.5394 GB, free: 9.301 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4998, allocations: 0 / 0.5394 GB, free: 9.301 MB / 394.7 MB Notification: Performance of Templates: time 0.006078/0.5059, allocations: 4.034 MB / 0.5434 GB, free: 7.469 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches