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.00126/0.001261, allocations: 110.6 kB / 17.29 MB, free: 6.219 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.001338/0.001338, allocations: 193.3 kB / 18.21 MB, free: 5.293 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.332/1.332, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 44.73 kB / 300.8 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.0968, allocations: 49.46 MB / 350.2 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00297/0.09982, allocations: 1.418 MB / 351.7 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3194/0.4193, allocations: 146.9 MB / 498.6 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.4194, allocations: 0 / 498.6 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.268e-05/0.4195, allocations: 3.984 kB / 498.6 MB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.4207, allocations: 343.5 kB / 498.9 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.422, allocations: 483 kB / 499.4 MB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.4221, allocations: 71.64 kB / 499.4 MB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.4221, allocations: 15.92 kB / 499.5 MB, free: 48 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.4222, allocations: 35.84 kB / 499.5 MB, free: 12 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.4223, allocations: 37.36 kB / 499.5 MB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.4224, allocations: 0 / 499.5 MB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.4245, allocations: 1.126 MB / 0.4889 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.4245, allocations: 7.984 kB / 0.4889 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.4246, allocations: 27.86 kB / 0.489 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009473/0.4256, allocations: 0.5223 MB / 0.4895 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4256, allocations: 4 kB / 0.4895 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4256, allocations: 4 kB / 0.4895 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.4256, allocations: 0 / 0.4895 GB, free: 14.28 MB / 414.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.0006691/0.4263, allocations: 462.1 kB / 0.4899 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4263, allocations: 12.03 kB / 0.4899 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005108/0.4268, allocations: 64.77 kB / 0.49 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.427, allocations: 196.4 kB / 0.4902 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4271, allocations: 3.938 kB / 0.4902 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.4271, allocations: 10.72 kB / 0.4902 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4273, allocations: 75.33 kB / 0.4903 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4273, allocations: 3.984 kB / 0.4903 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4273, allocations: 0 / 0.4903 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4273, allocations: 0 / 0.4903 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4274, allocations: 43.97 kB / 0.4903 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.4276, allocations: 195.4 kB / 0.4905 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.428, allocations: 121.1 kB / 0.4906 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.4281, allocations: 33.7 kB / 0.4906 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/0.4286, allocations: 141 kB / 0.4908 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.4287, allocations: 34.56 kB / 0.4908 GB, free: 12.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4287, allocations: 0 / 0.4908 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000359/0.429, allocations: 117.5 kB / 0.4909 GB, free: 12.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4291, allocations: 81.11 kB / 0.491 GB, free: 12.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.4292, allocations: 143.4 kB / 0.4911 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4293, allocations: 29.64 kB / 0.4912 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.4293, allocations: 92.12 kB / 0.4912 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.4293, allocations: 15.72 kB / 0.4913 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.4294, allocations: 21.72 kB / 0.4913 GB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4295, allocations: 318.8 kB / 0.4916 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.4296, allocations: 23.98 kB / 0.4916 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.967e-05/0.4297, allocations: 55.41 kB / 0.4917 GB, free: 11.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.4298, allocations: 79.34 kB / 0.4917 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4298, allocations: 3.938 kB / 0.4917 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002525/0.4301, allocations: 116.8 kB / 0.4919 GB, free: 11.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4301, allocations: 4 kB / 0.4919 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4301, allocations: 0 / 0.4919 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4301, allocations: 7.938 kB / 0.4919 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.4302, allocations: 19.97 kB / 0.4919 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4302, allocations: 2.266 kB / 0.4919 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.4303, allocations: 11.92 kB / 0.4919 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4303, allocations: 0 / 0.4919 GB, free: 11.52 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 7.394e-05/0.4304, allocations: 121.8 kB / 0.492 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.4304, allocations: 7.906 kB / 0.492 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.4307, allocations: 118.4 kB / 0.4921 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4307, allocations: 0 / 0.4921 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4307, allocations: 4 kB / 0.4921 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4307, allocations: 0 / 0.4921 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.4309, allocations: 181.6 kB / 0.4923 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4309, allocations: 0 / 0.4923 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.431, allocations: 19.98 kB / 0.4923 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.431, allocations: 4 kB / 0.4923 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.431, allocations: 3.938 kB / 0.4923 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.431, allocations: 0 / 0.4923 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.431, allocations: 4 kB / 0.4923 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.4314, allocations: 161.7 kB / 0.4925 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.4314, allocations: 89.97 kB / 0.4926 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.4315, allocations: 4.047 kB / 0.4926 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.4315, allocations: 8 kB / 0.4926 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.4316, allocations: 4 kB / 0.4926 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4316, allocations: 4 kB / 0.4926 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.318e-05/0.4317, allocations: 115.2 kB / 0.4927 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4317, allocations: 0 / 0.4927 GB, free: 10.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005692/0.4322, allocations: 159.9 kB / 0.4929 GB, free: 10.42 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.00118/0.4334, allocations: 440.4 kB / 0.4933 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.4337, allocations: 75.77 kB / 0.4934 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4337, allocations: 0 / 0.4934 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.4338, allocations: 31.98 kB / 0.4934 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.4341, allocations: 27.95 kB / 0.4934 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.4346, allocations: 349.5 kB / 0.4937 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4349, allocations: 0.6924 MB / 0.4944 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.4349, allocations: 15.44 kB / 0.4944 GB, free: 8.758 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4349, allocations: 0 / 0.4944 GB, free: 8.758 MB / 414.1 MB Notification: Performance of Templates: time 0.006639/0.4416, allocations: 3.985 MB / 0.4983 GB, free: 4.777 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