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.001115/0.001115, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001102/0.001102, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.375/1.375, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009717/0.0009717, allocations: 52.45 kB / 302 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08505/0.08604, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002222/0.0883, allocations: 1.37 MB / 352.9 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3804/0.4687, allocations: 149.1 MB / 0.4901 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.4688, allocations: 0 / 0.4901 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.4689, allocations: 7.922 kB / 0.4902 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.4699, allocations: 379.1 kB / 0.4905 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.471, allocations: 0.4991 MB / 0.491 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.4711, allocations: 75.7 kB / 0.4911 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.4711, allocations: 3.984 kB / 0.4911 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.4712, allocations: 31.86 kB / 0.4911 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.4713, allocations: 35.84 kB / 0.4911 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.4713, allocations: 4 kB / 0.4911 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.4729, allocations: 1.071 MB / 0.4922 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.473, allocations: 15.98 kB / 0.4922 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.473, allocations: 35.8 kB / 0.4922 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.474, allocations: 0.6821 MB / 0.4929 GB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.474, allocations: 0 / 0.4929 GB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.474, allocations: 7.922 kB / 0.4929 GB, free: 11.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.474, allocations: 0 / 0.4929 GB, free: 11.02 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.000565/0.4746, allocations: 451.7 kB / 0.4933 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.4746, allocations: 8.031 kB / 0.4934 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.4751, allocations: 68.75 kB / 0.4934 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.4752, allocations: 200.4 kB / 0.4936 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4753, allocations: 11.94 kB / 0.4936 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.4753, allocations: 3.984 kB / 0.4936 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4755, allocations: 79.33 kB / 0.4937 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.4755, allocations: 0 / 0.4937 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.4755, allocations: 0 / 0.4937 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.4755, allocations: 0 / 0.4937 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4756, allocations: 39.97 kB / 0.4937 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.4758, allocations: 198.5 kB / 0.4939 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.4761, allocations: 117 kB / 0.494 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.4762, allocations: 37.77 kB / 0.4941 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.4767, allocations: 137 kB / 0.4942 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.4767, allocations: 42.55 kB / 0.4942 GB, free: 9.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.4767, allocations: 4 kB / 0.4943 GB, free: 9.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003398/0.4771, allocations: 117.5 kB / 0.4944 GB, free: 9.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.4771, allocations: 85.05 kB / 0.4944 GB, free: 9.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4773, allocations: 135.6 kB / 0.4946 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4773, allocations: 33.7 kB / 0.4946 GB, free: 9.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.4774, allocations: 84.14 kB / 0.4947 GB, free: 8.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.4774, allocations: 19.7 kB / 0.4947 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.4774, allocations: 21.72 kB / 0.4947 GB, free: 8.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4776, allocations: 322.8 kB / 0.495 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.4777, allocations: 23.98 kB / 0.4951 GB, free: 8.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.4777, allocations: 48.59 kB / 0.4951 GB, free: 8.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4779, allocations: 83.34 kB / 0.4952 GB, free: 8.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4779, allocations: 3.938 kB / 0.4952 GB, free: 8.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002406/0.4781, allocations: 109.5 kB / 0.4953 GB, free: 8.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4782, allocations: 4 kB / 0.4953 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4782, allocations: 4 kB / 0.4953 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4782, allocations: 0 / 0.4953 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.4783, allocations: 19.88 kB / 0.4953 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.4783, allocations: 7.984 kB / 0.4953 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.4783, allocations: 8 kB / 0.4953 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.4783, allocations: 8 kB / 0.4953 GB, free: 8.246 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.484e-05/0.4784, allocations: 117.7 kB / 0.4955 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.4785, allocations: 7.906 kB / 0.4955 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.4787, allocations: 116.1 kB / 0.4956 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4788, allocations: 4.078 kB / 0.4956 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4788, allocations: 0 / 0.4956 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4788, allocations: 4 kB / 0.4956 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.4789, allocations: 189.6 kB / 0.4958 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4789, allocations: 0 / 0.4958 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.479, allocations: 13.42 kB / 0.4958 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.479, allocations: 0 / 0.4958 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.479, allocations: 4 kB / 0.4958 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.479, allocations: 0 / 0.4958 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4791, allocations: 3.938 kB / 0.4958 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.4794, allocations: 165.8 kB / 0.4959 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.4794, allocations: 93.03 kB / 0.496 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4795, allocations: 0 / 0.496 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.526e-05/0.4795, allocations: 7.859 kB / 0.496 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.4796, allocations: 4 kB / 0.496 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.4796, allocations: 7.938 kB / 0.496 GB, free: 7.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.4796, allocations: 111.8 kB / 0.4962 GB, free: 7.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4796, allocations: 0 / 0.4962 GB, free: 7.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.4801, allocations: 167.9 kB / 0.4963 GB, free: 7.152 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.0009296/0.481, allocations: 436.6 kB / 0.4967 GB, free: 6.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.4813, allocations: 63.91 kB / 0.4968 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4813, allocations: 0 / 0.4968 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.4813, allocations: 31.97 kB / 0.4968 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.4816, allocations: 24.05 kB / 0.4968 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.4821, allocations: 303.2 kB / 0.4971 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4823, allocations: 0.6929 MB / 0.4978 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.4824, allocations: 16.08 kB / 0.4978 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.4824, allocations: 19.42 kB / 0.4978 GB, free: 5.531 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4824, allocations: 0 / 0.4978 GB, free: 5.531 MB / 414.1 MB Notification: Performance of Templates: time 0.008207/0.4907, allocations: 4.715 MB / 0.5024 GB, free: 0.832 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 -s gbode -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