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.001508/0.001508, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001883/0.001884, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2133, allocations: 50.55 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001999/0.2153, allocations: 1.378 MB / 410.6 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3686/0.5839, allocations: 151.9 MB / 0.5493 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.584, allocations: 0 / 0.5493 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.584, allocations: 3.188 kB / 0.5493 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.5851, allocations: 376.9 kB / 0.5497 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.5861, allocations: 0.4998 MB / 0.5502 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.5862, allocations: 76.09 kB / 0.5503 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.5862, allocations: 4.859 kB / 0.5503 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.5863, allocations: 40.81 kB / 0.5503 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.5864, allocations: 26.98 kB / 0.5503 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.5864, allocations: 3.844 kB / 0.5503 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.5878, allocations: 1.089 MB / 0.5514 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.5879, allocations: 15.39 kB / 0.5514 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.5879, allocations: 29.91 kB / 0.5514 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008396/0.5887, allocations: 0.6899 MB / 0.5521 GB, free: 0.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5888, allocations: 3.562 kB / 0.5521 GB, free: 0.832 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5888, allocations: 4 kB / 0.5521 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.5888, allocations: 1.094 kB / 0.5521 GB, free: 0.8281 MB / 462.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.0005881/0.5894, allocations: 459.3 kB / 0.5526 GB, free: 16.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.5894, allocations: 10 kB / 0.5526 GB, free: 16.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.5899, allocations: 72.25 kB / 0.5526 GB, free: 16.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.5901, allocations: 196 kB / 0.5528 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5901, allocations: 3.938 kB / 0.5528 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.5901, allocations: 3.344 kB / 0.5528 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.5903, allocations: 78.47 kB / 0.5529 GB, free: 16.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.5903, allocations: 3.094 kB / 0.5529 GB, free: 16.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5903, allocations: 3.984 kB / 0.5529 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.5903, allocations: 0 / 0.5529 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.5904, allocations: 44.59 kB / 0.553 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.5906, allocations: 189.4 kB / 0.5531 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.5909, allocations: 121.2 kB / 0.5533 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.5909, allocations: 35.17 kB / 0.5533 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004822/0.5914, allocations: 134.1 kB / 0.5534 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.5915, allocations: 43.45 kB / 0.5535 GB, free: 15.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.5915, allocations: 0 / 0.5535 GB, free: 15.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003264/0.5918, allocations: 115.6 kB / 0.5536 GB, free: 15.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5918, allocations: 80.06 kB / 0.5537 GB, free: 15.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.592, allocations: 144.3 kB / 0.5538 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.592, allocations: 25.7 kB / 0.5538 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.592, allocations: 86.33 kB / 0.5539 GB, free: 15.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.5921, allocations: 23.33 kB / 0.5539 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.5921, allocations: 23.38 kB / 0.5539 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.5922, allocations: 317.7 kB / 0.5542 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.5923, allocations: 23.39 kB / 0.5543 GB, free: 15.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.5923, allocations: 55.59 kB / 0.5543 GB, free: 15.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.5925, allocations: 82.25 kB / 0.5544 GB, free: 15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5925, allocations: 3.938 kB / 0.5544 GB, free: 14.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002409/0.5927, allocations: 108 kB / 0.5545 GB, free: 14.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.5928, allocations: 5.312 kB / 0.5545 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.5928, allocations: 0 / 0.5545 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5928, allocations: 7.094 kB / 0.5545 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.5929, allocations: 14.25 kB / 0.5545 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5929, allocations: 2.562 kB / 0.5545 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.5929, allocations: 16.73 kB / 0.5545 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.5929, allocations: 2.781 kB / 0.5545 GB, free: 14.95 MB / 478.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.926e-05/0.593, allocations: 130 kB / 0.5547 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.5931, allocations: 6.281 kB / 0.5547 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.5933, allocations: 111.2 kB / 0.5548 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5933, allocations: 2.969 kB / 0.5548 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5933, allocations: 0.8125 kB / 0.5548 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5933, allocations: 6.469 kB / 0.5548 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.5935, allocations: 185.3 kB / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5935, allocations: 1.094 kB / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.5936, allocations: 14.27 kB / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5936, allocations: 4 kB / 0.555 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5936, allocations: 5.625 kB / 0.555 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5936, allocations: 0 / 0.555 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5936, allocations: 2.781 kB / 0.555 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.5939, allocations: 169.1 kB / 0.5552 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.594, allocations: 88.88 kB / 0.5552 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.594, allocations: 0 / 0.5552 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.594, allocations: 6.938 kB / 0.5553 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.5941, allocations: 6.25 kB / 0.5553 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.5941, allocations: 2.562 kB / 0.5553 GB, free: 14.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.619e-05/0.5942, allocations: 113.6 kB / 0.5554 GB, free: 14.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5942, allocations: 0 / 0.5554 GB, free: 14.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004935/0.5947, allocations: 160.5 kB / 0.5555 GB, free: 14.29 MB / 478.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.0008939/0.5956, allocations: 436.7 kB / 0.5559 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.5958, allocations: 65.31 kB / 0.556 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5958, allocations: 0 / 0.556 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.5959, allocations: 35.78 kB / 0.556 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.5961, allocations: 29.06 kB / 0.5561 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.5966, allocations: 305.5 kB / 0.5564 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.5968, allocations: 0.6907 MB / 0.557 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.5969, allocations: 21.59 kB / 0.557 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.5969, allocations: 17.91 kB / 0.5571 GB, free: 13.18 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5969, allocations: 0 / 0.5571 GB, free: 13.18 MB / 478.1 MB Notification: Performance of Templates: time 0.007838/0.6048, allocations: 4.732 MB / 0.5617 GB, free: 12.69 MB / 478.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.0.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