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.001089/0.001089, allocations: 102.7 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.53 kB / 306.4 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08187/0.08305, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002368/0.08545, allocations: 1.436 MB / 358.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2833/0.3687, allocations: 149.8 MB / 0.4963 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.3688, allocations: 1.969 kB / 0.4963 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.3689, allocations: 7.922 kB / 0.4963 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.3699, allocations: 343.6 kB / 0.4966 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.371, allocations: 489.6 kB / 0.4971 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.862e-05/0.3711, allocations: 75.58 kB / 0.4971 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.3711, allocations: 15.92 kB / 0.4971 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.3712, allocations: 27.92 kB / 0.4972 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.3712, allocations: 35.84 kB / 0.4972 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3712, allocations: 4 kB / 0.4972 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.3728, allocations: 1.138 MB / 0.4983 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.3729, allocations: 15.97 kB / 0.4983 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.3729, allocations: 27.88 kB / 0.4984 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.3739, allocations: 0.7677 MB / 0.4991 GB, free: 1.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3739, allocations: 0 / 0.4991 GB, free: 1.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3739, allocations: 0 / 0.4991 GB, free: 1.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3739, allocations: 0 / 0.4991 GB, free: 1.57 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.0005439/0.3745, allocations: 455.7 kB / 0.4996 GB, free: 1.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3745, allocations: 12.03 kB / 0.4996 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004567/0.375, allocations: 76.69 kB / 0.4996 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3751, allocations: 192.4 kB / 0.4998 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3752, allocations: 3.938 kB / 0.4998 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3752, allocations: 14.61 kB / 0.4998 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3753, allocations: 67.39 kB / 0.4999 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.3754, allocations: 0 / 0.4999 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.3754, allocations: 0 / 0.4999 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3754, allocations: 3.984 kB / 0.4999 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3755, allocations: 51.91 kB / 0.5 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.3757, allocations: 198.5 kB / 0.5001 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.376, allocations: 109.1 kB / 0.5002 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.3761, allocations: 41.7 kB / 0.5003 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004436/0.3765, allocations: 133 kB / 0.5004 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3765, allocations: 38.55 kB / 0.5005 GB, free: 4 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3766, allocations: 0 / 0.5005 GB, free: 4 kB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003471/0.3769, allocations: 121.5 kB / 0.5006 GB, free: 15.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.377, allocations: 77.11 kB / 0.5006 GB, free: 15.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3771, allocations: 142.4 kB / 0.5008 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3771, allocations: 25.7 kB / 0.5008 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.3771, allocations: 88.12 kB / 0.5009 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.3772, allocations: 19.72 kB / 0.5009 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.3772, allocations: 25.72 kB / 0.5009 GB, free: 15.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.3773, allocations: 318.8 kB / 0.5012 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.3774, allocations: 19.98 kB / 0.5013 GB, free: 15.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/0.3775, allocations: 55.34 kB / 0.5013 GB, free: 15.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3777, allocations: 83.72 kB / 0.5014 GB, free: 14.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3777, allocations: 3.938 kB / 0.5014 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002526/0.3779, allocations: 117.4 kB / 0.5015 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3779, allocations: 8 kB / 0.5015 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.378, allocations: 3.938 kB / 0.5015 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.378, allocations: 0 / 0.5015 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.378, allocations: 15.98 kB / 0.5015 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3781, allocations: 8.062 kB / 0.5015 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.3781, allocations: 3.938 kB / 0.5015 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3781, allocations: 4 kB / 0.5015 GB, free: 14.8 MB / 430.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.091e-05/0.3782, allocations: 125.7 kB / 0.5017 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.3783, allocations: 7.906 kB / 0.5017 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.3785, allocations: 113.9 kB / 0.5018 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3785, allocations: 3.938 kB / 0.5018 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3785, allocations: 4.875 kB / 0.5018 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3786, allocations: 4 kB / 0.5018 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3787, allocations: 185.6 kB / 0.502 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3787, allocations: 0 / 0.502 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.3788, allocations: 11.98 kB / 0.502 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3788, allocations: 4 kB / 0.502 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3788, allocations: 2 kB / 0.502 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3788, allocations: 0 / 0.502 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3788, allocations: 0 / 0.502 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3792, allocations: 169.7 kB / 0.5021 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.3792, allocations: 89.03 kB / 0.5022 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3792, allocations: 3.984 kB / 0.5022 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.3793, allocations: 4 kB / 0.5022 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.3793, allocations: 4 kB / 0.5022 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.3793, allocations: 4 kB / 0.5022 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.401e-05/0.3794, allocations: 111.2 kB / 0.5024 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3794, allocations: 4.062 kB / 0.5024 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.3799, allocations: 163.9 kB / 0.5025 GB, free: 13.7 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.0009788/0.3809, allocations: 442 kB / 0.5029 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3811, allocations: 67.89 kB / 0.503 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3811, allocations: 0 / 0.503 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.3812, allocations: 31.92 kB / 0.503 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3814, allocations: 26 kB / 0.5031 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.3819, allocations: 326.7 kB / 0.5034 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3822, allocations: 0.689 MB / 0.504 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.536e-05/0.3822, allocations: 15.89 kB / 0.5041 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3823, allocations: 19.44 kB / 0.5041 GB, free: 12.05 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3823, allocations: 0 / 0.5041 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Templates: time 0.007753/0.3901, allocations: 4.633 MB / 0.5086 GB, free: 7.438 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