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.001188/0.001188, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001119/0.001119, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.345/1.345, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.001031, allocations: 47.48 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.0964, allocations: 49.45 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00252/0.09899, allocations: 1.361 MB / 352.1 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3282/0.4272, allocations: 149.1 MB / 0.4894 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.4273, allocations: 0 / 0.4894 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.4274, allocations: 3.938 kB / 0.4894 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.4286, allocations: 378.2 kB / 0.4898 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.4299, allocations: 0.5013 MB / 0.4903 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.43, allocations: 79.62 kB / 0.4903 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.4301, allocations: 4 kB / 0.4903 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.4301, allocations: 31.86 kB / 0.4904 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.4302, allocations: 31.84 kB / 0.4904 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.4303, allocations: 8 kB / 0.4904 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.4321, allocations: 1.056 MB / 0.4914 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.4321, allocations: 11.98 kB / 0.4914 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.4322, allocations: 23.88 kB / 0.4915 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.4333, allocations: 0.7016 MB / 0.4922 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4333, allocations: 0 / 0.4922 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4333, allocations: 4 kB / 0.4922 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4333, allocations: 0 / 0.4922 GB, free: 11.74 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.0006324/0.4339, allocations: 455.7 kB / 0.4926 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.434, allocations: 12.03 kB / 0.4926 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.4345, allocations: 72.75 kB / 0.4927 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4347, allocations: 188.5 kB / 0.4929 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.4347, allocations: 3.938 kB / 0.4929 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.4347, allocations: 7.938 kB / 0.4929 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4349, allocations: 75.38 kB / 0.4929 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4349, allocations: 0 / 0.4929 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.435, allocations: 0 / 0.4929 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.435, allocations: 7.938 kB / 0.4929 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.4351, allocations: 43.97 kB / 0.493 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.4353, allocations: 194.6 kB / 0.4932 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.4356, allocations: 117.1 kB / 0.4933 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.515e-05/0.4357, allocations: 41.62 kB / 0.4933 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/0.4363, allocations: 137 kB / 0.4935 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4363, allocations: 34.56 kB / 0.4935 GB, free: 10.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4363, allocations: 0 / 0.4935 GB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003752/0.4367, allocations: 117.5 kB / 0.4936 GB, free: 10.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4367, allocations: 77.11 kB / 0.4937 GB, free: 9.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.4369, allocations: 150.3 kB / 0.4938 GB, free: 9.809 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4369, allocations: 25.7 kB / 0.4938 GB, free: 9.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.4369, allocations: 88.14 kB / 0.4939 GB, free: 9.688 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.437, allocations: 19.72 kB / 0.4939 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.437, allocations: 29.7 kB / 0.494 GB, free: 9.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4371, allocations: 310.8 kB / 0.4943 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.4372, allocations: 31.92 kB / 0.4943 GB, free: 9.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.4373, allocations: 52.34 kB / 0.4943 GB, free: 9.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.4375, allocations: 80.22 kB / 0.4944 GB, free: 9.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4375, allocations: 7.938 kB / 0.4944 GB, free: 9.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002487/0.4377, allocations: 106 kB / 0.4945 GB, free: 9.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4378, allocations: 8 kB / 0.4945 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4378, allocations: 0 / 0.4945 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4378, allocations: 4.062 kB / 0.4945 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.4379, allocations: 19.98 kB / 0.4946 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.4379, allocations: 0 / 0.4946 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.4379, allocations: 14.31 kB / 0.4946 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.438, allocations: 3.938 kB / 0.4946 GB, free: 8.973 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 8.576e-05/0.438, allocations: 117.8 kB / 0.4947 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.4381, allocations: 15.84 kB / 0.4947 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.4384, allocations: 113.9 kB / 0.4948 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4384, allocations: 0 / 0.4948 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4384, allocations: 0 / 0.4948 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4384, allocations: 4 kB / 0.4948 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.4386, allocations: 185.6 kB / 0.495 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4386, allocations: 0 / 0.495 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.4386, allocations: 8 kB / 0.495 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4387, allocations: 4 kB / 0.495 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4387, allocations: 0 / 0.495 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4387, allocations: 3.984 kB / 0.495 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.4387, allocations: 4 kB / 0.495 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.439, allocations: 171.3 kB / 0.4952 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.4391, allocations: 93.03 kB / 0.4953 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.4391, allocations: 1.125 kB / 0.4953 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.4392, allocations: 7.938 kB / 0.4953 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4392, allocations: 3.984 kB / 0.4953 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4393, allocations: 12.06 kB / 0.4953 GB, free: 8.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.4393, allocations: 107.3 kB / 0.4954 GB, free: 8.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4393, allocations: 4 kB / 0.4954 GB, free: 8.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006189/0.44, allocations: 163.8 kB / 0.4956 GB, free: 7.871 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.001076/0.4411, allocations: 428.9 kB / 0.496 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.4413, allocations: 67.89 kB / 0.496 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4413, allocations: 128 / 0.496 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.4414, allocations: 39.92 kB / 0.4961 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4417, allocations: 28.12 kB / 0.4961 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.4423, allocations: 334.8 kB / 0.4964 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.4426, allocations: 0.6889 MB / 0.4971 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.4426, allocations: 15.44 kB / 0.4971 GB, free: 6.223 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4426, allocations: 0 / 0.4971 GB, free: 6.223 MB / 414.1 MB Notification: Performance of Templates: time 0.006618/0.4492, allocations: 3.983 MB / 0.501 GB, free: 2.246 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