Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007627/0.0007626, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008868/0.0008868, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000207/0.0002069, allocations: 4 kB / 307.7 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07826/0.07848, allocations: 51.53 MB / 359.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00124/0.07975, allocations: 1.097 MB / 360.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2912/0.371, allocations: 148.1 MB / 0.4966 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.371, allocations: 0 / 0.4966 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3711, allocations: 7.875 kB / 0.4966 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009446/0.372, allocations: 337 kB / 0.4969 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.373, allocations: 461.1 kB / 0.4973 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.3731, allocations: 95.62 kB / 0.4974 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.3732, allocations: 8 kB / 0.4974 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.3732, allocations: 31.84 kB / 0.4975 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.3733, allocations: 39.89 kB / 0.4975 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3733, allocations: 4 kB / 0.4975 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.3751, allocations: 1.233 MB / 0.4987 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.3751, allocations: 27.84 kB / 0.4987 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.3752, allocations: 49.58 kB / 0.4988 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.3762, allocations: 0.7755 MB / 0.4995 GB, free: 3.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3762, allocations: 0 / 0.4995 GB, free: 3.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3762, allocations: 0 / 0.4995 GB, free: 3.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3762, allocations: 0 / 0.4995 GB, free: 3.688 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.0005143/0.3767, allocations: 447.7 kB / 0.5 GB, free: 3.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3768, allocations: 12.03 kB / 0.5 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.3773, allocations: 68.75 kB / 0.5 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3774, allocations: 200.5 kB / 0.5002 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3774, allocations: 3.938 kB / 0.5002 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3775, allocations: 5.5 kB / 0.5002 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3776, allocations: 75.33 kB / 0.5003 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.3776, allocations: 0 / 0.5003 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3776, allocations: 7.984 kB / 0.5003 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3777, allocations: 3.984 kB / 0.5003 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.3778, allocations: 39.97 kB / 0.5004 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.3779, allocations: 190.6 kB / 0.5005 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.3782, allocations: 121 kB / 0.5007 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.3783, allocations: 37.77 kB / 0.5007 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000414/0.3787, allocations: 129 kB / 0.5008 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3788, allocations: 38.56 kB / 0.5009 GB, free: 2.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3788, allocations: 0 / 0.5009 GB, free: 2.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003394/0.3791, allocations: 125.5 kB / 0.501 GB, free: 2.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3792, allocations: 77.11 kB / 0.501 GB, free: 1.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3793, allocations: 137.8 kB / 0.5012 GB, free: 1.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3793, allocations: 29.7 kB / 0.5012 GB, free: 1.734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.3794, allocations: 84.14 kB / 0.5013 GB, free: 1.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.3794, allocations: 27.61 kB / 0.5013 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.3794, allocations: 17.72 kB / 0.5013 GB, free: 1.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.3795, allocations: 318.8 kB / 0.5016 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.3796, allocations: 27.98 kB / 0.5017 GB, free: 1.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.3797, allocations: 47.42 kB / 0.5017 GB, free: 1.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3798, allocations: 79.34 kB / 0.5018 GB, free: 1.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3798, allocations: 3.938 kB / 0.5018 GB, free: 1.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002407/0.3801, allocations: 109.5 kB / 0.5019 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3801, allocations: 4 kB / 0.5019 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3801, allocations: 4.859 kB / 0.5019 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.3801, allocations: 4.469 kB / 0.5019 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.3802, allocations: 16 kB / 0.5019 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3802, allocations: 3.938 kB / 0.5019 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.3803, allocations: 7.906 kB / 0.5019 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3803, allocations: 7.984 kB / 0.5019 GB, free: 0.9375 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.939e-05/0.3804, allocations: 125.8 kB / 0.5021 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.3804, allocations: 0 / 0.5021 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3807, allocations: 117.8 kB / 0.5022 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3807, allocations: 6.188 kB / 0.5022 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3807, allocations: 0 / 0.5022 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3807, allocations: 0 / 0.5022 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.3808, allocations: 193.4 kB / 0.5024 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3809, allocations: 0 / 0.5024 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.381, allocations: 23.92 kB / 0.5024 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.381, allocations: 0 / 0.5024 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.381, allocations: 4 kB / 0.5024 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.381, allocations: 4 kB / 0.5024 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.381, allocations: 0 / 0.5024 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.3813, allocations: 161.7 kB / 0.5025 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.3814, allocations: 85.19 kB / 0.5026 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.3814, allocations: 15.98 kB / 0.5026 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.3815, allocations: 3.375 kB / 0.5026 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.3815, allocations: 4 kB / 0.5026 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3815, allocations: 0 / 0.5026 GB, free: 112 kB / 414.1 MB Notification: Performance of sorting global known variables: time 8.07e-05/0.3816, allocations: 115.2 kB / 0.5028 GB, free: 16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3816, allocations: 0 / 0.5028 GB, free: 16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.3821, allocations: 163.8 kB / 0.5029 GB, free: 15.84 MB / 430.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.0009633/0.383, allocations: 437.9 kB / 0.5033 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.3832, allocations: 63.89 kB / 0.5034 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3832, allocations: 0 / 0.5034 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.3833, allocations: 31.92 kB / 0.5034 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.3836, allocations: 30.31 kB / 0.5034 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.3841, allocations: 371.2 kB / 0.5038 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.3843, allocations: 0.6888 MB / 0.5045 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.3844, allocations: 19.88 kB / 0.5045 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.3844, allocations: 15.44 kB / 0.5045 GB, free: 14.14 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3844, allocations: 0 / 0.5045 GB, free: 14.14 MB / 430.1 MB Notification: Performance of Templates: time 0.00779/0.3922, allocations: 4.545 MB / 0.5089 GB, free: 9.605 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches