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/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_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/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009811/0.000981, allocations: 101.2 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009233/0.0009234, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1999, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002043/0.202, allocations: 1.429 MB / 408.5 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3196/0.5216, allocations: 146.9 MB / 0.5423 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.5217, allocations: 4 kB / 0.5423 GB, free: 11.72 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.5218, allocations: 6.609 kB / 0.5423 GB, free: 11.72 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009152/0.5227, allocations: 332 kB / 0.5427 GB, free: 11.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009055/0.5236, allocations: 456.2 kB / 0.5431 GB, free: 11.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.5237, allocations: 104.2 kB / 0.5432 GB, free: 11.56 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.005e-05/0.5238, allocations: 0 / 0.5432 GB, free: 11.56 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.5238, allocations: 35.25 kB / 0.5432 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.5239, allocations: 39.27 kB / 0.5433 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.5239, allocations: 2.094 kB / 0.5433 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.5257, allocations: 1.232 MB / 0.5445 GB, free: 11.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.5257, allocations: 23.22 kB / 0.5445 GB, free: 11.17 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.5258, allocations: 30.83 kB / 0.5445 GB, free: 11.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.5268, allocations: 0.7736 MB / 0.5453 GB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5268, allocations: 0 / 0.5453 GB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5268, allocations: 0 / 0.5453 GB, free: 10.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.5268, allocations: 1.094 kB / 0.5453 GB, free: 10.9 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.0005417/0.5274, allocations: 456.5 kB / 0.5457 GB, free: 10.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.5274, allocations: 8 kB / 0.5457 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.5278, allocations: 75.7 kB / 0.5458 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.528, allocations: 193.9 kB / 0.546 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.528, allocations: 6.156 kB / 0.546 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.5281, allocations: 3.031 kB / 0.546 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.5282, allocations: 75.45 kB / 0.5461 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.5282, allocations: 0 / 0.5461 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5283, allocations: 7.922 kB / 0.5461 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5283, allocations: 2.25 kB / 0.5461 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.363e-05/0.5284, allocations: 45.56 kB / 0.5461 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.5285, allocations: 186.4 kB / 0.5463 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.5288, allocations: 121.4 kB / 0.5464 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.5289, allocations: 37.61 kB / 0.5464 GB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004773/0.5294, allocations: 135.5 kB / 0.5466 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.5295, allocations: 37.34 kB / 0.5466 GB, free: 9.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.5295, allocations: 0 / 0.5466 GB, free: 9.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003259/0.5298, allocations: 121.5 kB / 0.5467 GB, free: 9.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.5299, allocations: 83.11 kB / 0.5468 GB, free: 9.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.53, allocations: 138.3 kB / 0.5469 GB, free: 9.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.53, allocations: 25.7 kB / 0.547 GB, free: 9.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.53, allocations: 85.98 kB / 0.547 GB, free: 9.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.5301, allocations: 33.42 kB / 0.5471 GB, free: 9.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.5301, allocations: 18.31 kB / 0.5471 GB, free: 9.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5302, allocations: 322.1 kB / 0.5474 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.5303, allocations: 28.33 kB / 0.5474 GB, free: 8.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.5304, allocations: 50.31 kB / 0.5475 GB, free: 8.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.5307, allocations: 82.25 kB / 0.5475 GB, free: 8.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.5307, allocations: 3.938 kB / 0.5476 GB, free: 8.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003717/0.5311, allocations: 114.7 kB / 0.5477 GB, free: 8.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5311, allocations: 10.38 kB / 0.5477 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5311, allocations: 0 / 0.5477 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5311, allocations: 2.375 kB / 0.5477 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.5313, allocations: 16.59 kB / 0.5477 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5313, allocations: 0 / 0.5477 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.5314, allocations: 11.25 kB / 0.5477 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.5314, allocations: 6.469 kB / 0.5477 GB, free: 8.805 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 9.058e-05/0.5315, allocations: 120.1 kB / 0.5478 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.5316, allocations: 10.12 kB / 0.5478 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.5319, allocations: 109.3 kB / 0.5479 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.5319, allocations: 6.609 kB / 0.5479 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5319, allocations: 4 kB / 0.5479 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5319, allocations: 0 / 0.5479 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.5321, allocations: 184.8 kB / 0.5481 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5321, allocations: 1.844 kB / 0.5481 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.5323, allocations: 14.36 kB / 0.5481 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5323, allocations: 1.969 kB / 0.5481 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.5323, allocations: 2.688 kB / 0.5481 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5323, allocations: 0 / 0.5481 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5323, allocations: 0 / 0.5481 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.5339, allocations: 1.048 MB / 0.5492 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.5339, allocations: 94.28 kB / 0.5493 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.534, allocations: 0 / 0.5493 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.5341, allocations: 2.438 kB / 0.5493 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.5341, allocations: 6.406 kB / 0.5493 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.5341, allocations: 6.578 kB / 0.5493 GB, free: 7.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.997e-05/0.5343, allocations: 117 kB / 0.5494 GB, free: 7.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5343, allocations: 1.906 kB / 0.5494 GB, free: 7.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009593/0.5352, allocations: 181 kB / 0.5496 GB, free: 7.188 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 (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.001118/0.5364, allocations: 430.6 kB / 0.55 GB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.5366, allocations: 62.42 kB / 0.55 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5366, allocations: 0 / 0.55 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.063e-05/0.5367, allocations: 30.05 kB / 0.5501 GB, free: 6.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5369, allocations: 20.11 kB / 0.5501 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.5375, allocations: 443.6 kB / 0.5505 GB, free: 6.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.5377, allocations: 0.6932 MB / 0.5512 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.5378, allocations: 11.28 kB / 0.5512 GB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.5378, allocations: 15.22 kB / 0.5512 GB, free: 5.852 MB / 394.7 MB Notification: Performance of SimCode: time 2.234e-06/0.5378, allocations: 0 / 0.5512 GB, free: 5.852 MB / 394.7 MB Notification: Performance of Templates: time 0.0074/0.5453, allocations: 4.629 MB / 0.5557 GB, free: 3.488 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches