Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008978/0.0008981, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.001021/0.001021, allocations: 175.3 kB / 18.21 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8.938 kB / 302.1 MB, free: 5.914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08514, allocations: 50.4 MB / 352.5 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001462/0.08665, allocations: 1.099 MB / 353.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3011/0.3878, allocations: 145.3 MB / 498.8 MB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.3879, allocations: 0 / 498.8 MB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.3879, allocations: 7.922 kB / 498.8 MB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.389, allocations: 327.1 kB / 499.2 MB, free: 2.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3901, allocations: 458.9 kB / 499.6 MB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3902, allocations: 95.61 kB / 499.7 MB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.3902, allocations: 3.984 kB / 499.7 MB, free: 2.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.3903, allocations: 35.86 kB / 499.7 MB, free: 2.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.3904, allocations: 35.84 kB / 499.8 MB, free: 2.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3904, allocations: 0 / 499.8 MB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.3924, allocations: 1.239 MB / 0.4893 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.3924, allocations: 11.98 kB / 0.4893 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.3925, allocations: 61.48 kB / 0.4893 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000799/0.3933, allocations: 0.5146 MB / 0.4898 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3933, allocations: 0 / 0.4898 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3933, allocations: 0 / 0.4898 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.3933, allocations: 4 kB / 0.4898 GB, free: 0.5156 MB / 398.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.0005776/0.3939, allocations: 447.7 kB / 0.4903 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.394, allocations: 12.03 kB / 0.4903 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000475/0.3944, allocations: 72.83 kB / 0.4904 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3946, allocations: 194.4 kB / 0.4905 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3946, allocations: 7.938 kB / 0.4905 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3947, allocations: 7.938 kB / 0.4906 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3948, allocations: 71.33 kB / 0.4906 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3948, allocations: 0 / 0.4906 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3949, allocations: 4 kB / 0.4906 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3949, allocations: 4 kB / 0.4906 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.395, allocations: 43.95 kB / 0.4907 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.3952, allocations: 195.9 kB / 0.4909 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.3955, allocations: 117 kB / 0.491 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/0.3955, allocations: 41.75 kB / 0.491 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.396, allocations: 133 kB / 0.4911 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.396, allocations: 34.5 kB / 0.4912 GB, free: 14.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.396, allocations: 4 kB / 0.4912 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003317/0.3964, allocations: 113.6 kB / 0.4913 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3964, allocations: 85.03 kB / 0.4914 GB, free: 14.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3965, allocations: 141.8 kB / 0.4915 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3966, allocations: 25.7 kB / 0.4915 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.3966, allocations: 88.08 kB / 0.4916 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.3966, allocations: 27.64 kB / 0.4916 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.3967, allocations: 13.72 kB / 0.4916 GB, free: 14.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.3968, allocations: 318.8 kB / 0.492 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.3968, allocations: 19.98 kB / 0.492 GB, free: 14.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.3969, allocations: 55.39 kB / 0.492 GB, free: 14.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3971, allocations: 87.34 kB / 0.4921 GB, free: 13.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3971, allocations: 3.938 kB / 0.4921 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002374/0.3973, allocations: 105.5 kB / 0.4922 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3974, allocations: 8 kB / 0.4922 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3974, allocations: 0.7812 kB / 0.4922 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3974, allocations: 0 / 0.4922 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.3975, allocations: 19.92 kB / 0.4922 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.3975, allocations: 4 kB / 0.4922 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.3975, allocations: 4.062 kB / 0.4922 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3975, allocations: 4 kB / 0.4923 GB, free: 13.77 MB / 414.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.898e-05/0.3976, allocations: 121.8 kB / 0.4924 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.3977, allocations: 7.906 kB / 0.4924 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.3979, allocations: 118.3 kB / 0.4925 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3979, allocations: 0 / 0.4925 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3979, allocations: 0.875 kB / 0.4925 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.398, allocations: 0 / 0.4925 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.3981, allocations: 201.4 kB / 0.4927 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3981, allocations: 0 / 0.4927 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.3982, allocations: 8 kB / 0.4927 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3982, allocations: 4 kB / 0.4927 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3982, allocations: 8.625 kB / 0.4927 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3982, allocations: 3.984 kB / 0.4927 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3982, allocations: 0 / 0.4927 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.3985, allocations: 165.9 kB / 0.4929 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.3986, allocations: 93.03 kB / 0.4929 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3986, allocations: 0 / 0.4929 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.3987, allocations: 7.984 kB / 0.493 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.3987, allocations: 0 / 0.493 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3987, allocations: 4 kB / 0.493 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.111e-05/0.3988, allocations: 119.2 kB / 0.4931 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3988, allocations: 0 / 0.4931 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.3994, allocations: 159.9 kB / 0.4932 GB, free: 12.66 MB / 414.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.001047/0.4004, allocations: 438.7 kB / 0.4936 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.4006, allocations: 63.89 kB / 0.4937 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4006, allocations: 0 / 0.4937 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.4007, allocations: 31.98 kB / 0.4937 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.401, allocations: 24.05 kB / 0.4938 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.4015, allocations: 396.2 kB / 0.4941 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.4018, allocations: 0.6887 MB / 0.4948 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.4018, allocations: 15.44 kB / 0.4948 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4018, allocations: 0 / 0.4948 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Templates: time 0.006454/0.4083, allocations: 3.976 MB / 0.4987 GB, free: 6.992 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches