Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.00168/0.00168, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.806/1.806, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 52.31 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09233, allocations: 49.45 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002765/0.09515, allocations: 1.349 MB / 352.1 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3232/0.4184, allocations: 148.7 MB / 0.4891 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.4185, allocations: 0 / 0.4891 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.4186, allocations: 11.92 kB / 0.4891 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009944/0.4196, allocations: 236.1 kB / 0.4893 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.4208, allocations: 390.3 kB / 0.4897 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.4209, allocations: 59.64 kB / 0.4897 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.4209, allocations: 7.938 kB / 0.4897 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.421, allocations: 27.86 kB / 0.4898 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.4211, allocations: 27.91 kB / 0.4898 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.4211, allocations: 8 kB / 0.4898 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.4224, allocations: 0.6161 MB / 0.4904 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.4225, allocations: 11.92 kB / 0.4904 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.4225, allocations: 19.88 kB / 0.4904 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009968/0.4235, allocations: 0.4912 MB / 0.4909 GB, free: 12.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4235, allocations: 0 / 0.4909 GB, free: 12.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4235, allocations: 0 / 0.4909 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.4235, allocations: 0 / 0.4909 GB, free: 12.7 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.0006533/0.4242, allocations: 427.8 kB / 0.4913 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4242, allocations: 8.031 kB / 0.4913 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.4254, allocations: 93.3 kB / 0.4914 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.4257, allocations: 227.9 kB / 0.4916 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4257, allocations: 0.875 kB / 0.4916 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.4258, allocations: 4 kB / 0.4916 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.426, allocations: 91.33 kB / 0.4917 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.426, allocations: 0 / 0.4917 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.426, allocations: 4 kB / 0.4917 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4261, allocations: 1.219 kB / 0.4917 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.4262, allocations: 51.88 kB / 0.4918 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.4265, allocations: 217.9 kB / 0.492 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.4271, allocations: 125.1 kB / 0.4921 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4272, allocations: 37.7 kB / 0.4922 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/0.4279, allocations: 0.9823 MB / 0.4931 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4279, allocations: 42.56 kB / 0.4932 GB, free: 10.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4279, allocations: 0 / 0.4932 GB, free: 10.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005243/0.4284, allocations: 129.4 kB / 0.4933 GB, free: 9.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4285, allocations: 85.09 kB / 0.4934 GB, free: 9.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.4287, allocations: 153.8 kB / 0.4935 GB, free: 9.617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4288, allocations: 25.7 kB / 0.4935 GB, free: 9.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.4288, allocations: 84.14 kB / 0.4936 GB, free: 9.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.4289, allocations: 39.56 kB / 0.4936 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.4289, allocations: 29.7 kB / 0.4937 GB, free: 9.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4291, allocations: 318.8 kB / 0.494 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4292, allocations: 27.97 kB / 0.494 GB, free: 9.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.4293, allocations: 55.41 kB / 0.4941 GB, free: 9.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.4295, allocations: 79.34 kB / 0.4941 GB, free: 8.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4295, allocations: 0 / 0.4941 GB, free: 8.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003407/0.4299, allocations: 125.5 kB / 0.4943 GB, free: 8.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4299, allocations: 4 kB / 0.4943 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4299, allocations: 0 / 0.4943 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4299, allocations: 8.062 kB / 0.4943 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4301, allocations: 23.97 kB / 0.4943 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4301, allocations: 4 kB / 0.4943 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.4303, allocations: 7.906 kB / 0.4943 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.4303, allocations: 7.984 kB / 0.4943 GB, free: 8.738 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.579e-05/0.4304, allocations: 121.7 kB / 0.4944 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.4305, allocations: 0 / 0.4944 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/0.4311, allocations: 243.2 kB / 0.4947 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4311, allocations: 8.031 kB / 0.4947 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4311, allocations: 0 / 0.4947 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4311, allocations: 0 / 0.4947 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.4313, allocations: 218.9 kB / 0.4949 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4314, allocations: 4 kB / 0.4949 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.4315, allocations: 21.16 kB / 0.4949 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.4315, allocations: 0 / 0.4949 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4316, allocations: 7.938 kB / 0.4949 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4316, allocations: 0 / 0.4949 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4316, allocations: 0 / 0.4949 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.432, allocations: 185.7 kB / 0.4951 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.4321, allocations: 89.12 kB / 0.4952 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.4322, allocations: 3.984 kB / 0.4952 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4323, allocations: 4.875 kB / 0.4952 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4324, allocations: 11.98 kB / 0.4952 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4324, allocations: 0 / 0.4952 GB, free: 7.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4326, allocations: 135.2 kB / 0.4953 GB, free: 7.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4326, allocations: 0 / 0.4953 GB, free: 7.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000514/0.4331, allocations: 135.9 kB / 0.4954 GB, free: 7.477 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008008/0.4339, allocations: 328.1 kB / 0.4958 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.4342, allocations: 79.81 kB / 0.4958 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4342, allocations: 0 / 0.4958 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.4344, allocations: 44.05 kB / 0.4959 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.4346, allocations: 15.92 kB / 0.4959 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.4352, allocations: 325.6 kB / 0.4962 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.4355, allocations: 0.6961 MB / 0.4969 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.4356, allocations: 39.39 kB / 0.4969 GB, free: 5.906 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4356, allocations: 4 kB / 0.4969 GB, free: 5.902 MB / 414.1 MB Notification: Performance of Templates: time 0.007324/0.443, allocations: 4.132 MB / 0.501 GB, free: 1.773 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches