Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001188, allocations: 212.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 58.88 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.0856, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002457/0.0881, allocations: 1.362 MB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2972/0.3854, allocations: 151.6 MB / 0.4999 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.3854, allocations: 4 kB / 0.4999 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.3855, allocations: 3.938 kB / 0.4999 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007659/0.3863, allocations: 245.8 kB / 0.5001 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.3872, allocations: 389.5 kB / 0.5005 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.3873, allocations: 59.67 kB / 0.5005 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.3873, allocations: 7.938 kB / 0.5005 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.3873, allocations: 27.84 kB / 0.5006 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.3874, allocations: 27.91 kB / 0.5006 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3874, allocations: 0 / 0.5006 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.3885, allocations: 0.6785 MB / 0.5013 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.3885, allocations: 7.984 kB / 0.5013 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.3886, allocations: 23.86 kB / 0.5013 GB, free: 496 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006599/0.3892, allocations: 499 kB / 0.5018 GB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3892, allocations: 0 / 0.5018 GB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3892, allocations: 0 / 0.5018 GB, free: 15.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3893, allocations: 4 kB / 0.5018 GB, free: 15.99 MB / 430.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.0004606/0.3897, allocations: 427.8 kB / 0.5022 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.3898, allocations: 12.03 kB / 0.5022 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.391, allocations: 104.8 kB / 0.5023 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.3913, allocations: 229.1 kB / 0.5025 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3913, allocations: 4 kB / 0.5025 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3913, allocations: 0 / 0.5025 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3916, allocations: 99.08 kB / 0.5026 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3916, allocations: 3.656 kB / 0.5026 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3916, allocations: 3.938 kB / 0.5026 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3916, allocations: 0 / 0.5026 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.3918, allocations: 51.89 kB / 0.5027 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.392, allocations: 210.6 kB / 0.5029 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.3925, allocations: 129.1 kB / 0.503 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3926, allocations: 41.77 kB / 0.503 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/0.3932, allocations: 0.9823 MB / 0.504 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3932, allocations: 42.55 kB / 0.504 GB, free: 13.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3932, allocations: 0 / 0.504 GB, free: 13.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004469/0.3937, allocations: 133.4 kB / 0.5041 GB, free: 13.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3937, allocations: 81.09 kB / 0.5042 GB, free: 13.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3939, allocations: 153.8 kB / 0.5044 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3939, allocations: 25.7 kB / 0.5044 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.394, allocations: 80.14 kB / 0.5045 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.394, allocations: 31.64 kB / 0.5045 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.3941, allocations: 29.7 kB / 0.5045 GB, free: 12.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.3942, allocations: 322.8 kB / 0.5048 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.3943, allocations: 31.91 kB / 0.5049 GB, free: 12.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3944, allocations: 57.11 kB / 0.5049 GB, free: 12.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.3946, allocations: 83.34 kB / 0.505 GB, free: 12.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3946, allocations: 0 / 0.505 GB, free: 12.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003128/0.395, allocations: 117.5 kB / 0.5051 GB, free: 12.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.395, allocations: 4 kB / 0.5051 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.395, allocations: 4 kB / 0.5051 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.395, allocations: 4.062 kB / 0.5051 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.3951, allocations: 27.97 kB / 0.5052 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3952, allocations: 0 / 0.5052 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3953, allocations: 7.906 kB / 0.5052 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.3954, allocations: 15.92 kB / 0.5052 GB, free: 12.01 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.768e-05/0.3955, allocations: 117.7 kB / 0.5053 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.3955, allocations: 4 kB / 0.5053 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.3961, allocations: 249 kB / 0.5055 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3961, allocations: 0.5156 kB / 0.5055 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3961, allocations: 0 / 0.5055 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3961, allocations: 0 / 0.5055 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3963, allocations: 218.9 kB / 0.5057 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3963, allocations: 0 / 0.5057 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.3965, allocations: 27.91 kB / 0.5058 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3965, allocations: 7.938 kB / 0.5058 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3965, allocations: 5.234 kB / 0.5058 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3965, allocations: 0 / 0.5058 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3965, allocations: 4 kB / 0.5058 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.3969, allocations: 177.7 kB / 0.506 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.397, allocations: 93.19 kB / 0.506 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.397, allocations: 3.984 kB / 0.506 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3972, allocations: 4 kB / 0.506 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3972, allocations: 11.98 kB / 0.5061 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3973, allocations: 4 kB / 0.5061 GB, free: 11.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.3974, allocations: 127.2 kB / 0.5062 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3974, allocations: 0 / 0.5062 GB, free: 10.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.3978, allocations: 131.9 kB / 0.5063 GB, free: 10.75 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 (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.0006214/0.3985, allocations: 318.2 kB / 0.5066 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.3988, allocations: 91.8 kB / 0.5067 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3988, allocations: 0 / 0.5067 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.3989, allocations: 36.05 kB / 0.5067 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.3991, allocations: 23.27 kB / 0.5068 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.3996, allocations: 305.9 kB / 0.5071 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.3998, allocations: 0.694 MB / 0.5077 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000499/0.4003, allocations: 430.8 kB / 0.5081 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.4005, allocations: 35.39 kB / 0.5082 GB, free: 8.793 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4005, allocations: 4 kB / 0.5082 GB, free: 8.789 MB / 430.1 MB Notification: Performance of Templates: time 0.008258/0.4087, allocations: 5.212 MB / 0.5133 GB, free: 3.586 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches