Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.0012/0.0012, allocations: 194.9 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08295, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002669/0.08566, allocations: 1.349 MB / 376 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3116/0.3973, allocations: 150.4 MB / 0.514 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.3974, allocations: 0 / 0.514 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.3975, allocations: 11.92 kB / 0.514 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009265/0.3984, allocations: 238.8 kB / 0.5143 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.4001, allocations: 0.6216 MB / 0.5149 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.4002, allocations: 63.66 kB / 0.5149 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.4003, allocations: 7.984 kB / 0.5149 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.4003, allocations: 19.88 kB / 0.515 GB, free: 6.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.4004, allocations: 31.91 kB / 0.515 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.4004, allocations: 0 / 0.515 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.4021, allocations: 0.8812 MB / 0.5158 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.4021, allocations: 15.97 kB / 0.5159 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.4022, allocations: 19.88 kB / 0.5159 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.4033, allocations: 0.6039 MB / 0.5165 GB, free: 5.285 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4033, allocations: 0 / 0.5165 GB, free: 5.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4033, allocations: 4 kB / 0.5165 GB, free: 5.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.4033, allocations: 0 / 0.5165 GB, free: 5.281 MB / 446.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.0005971/0.4039, allocations: 458.3 kB / 0.5169 GB, free: 4.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4039, allocations: 8.031 kB / 0.5169 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.404, allocations: 38.75 kB / 0.517 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.405, allocations: 92.69 kB / 0.517 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.4053, allocations: 224.3 kB / 0.5173 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4054, allocations: 7.938 kB / 0.5173 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.4054, allocations: 3.938 kB / 0.5173 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.4056, allocations: 95.27 kB / 0.5174 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4056, allocations: 0 / 0.5174 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4057, allocations: 0 / 0.5174 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4057, allocations: 0 / 0.5174 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.4059, allocations: 51.95 kB / 0.5174 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.4061, allocations: 210.8 kB / 0.5176 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.4066, allocations: 121.1 kB / 0.5177 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.4067, allocations: 45.75 kB / 0.5178 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007773/0.4075, allocations: 0.9823 MB / 0.5187 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.4076, allocations: 34.56 kB / 0.5188 GB, free: 2.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4076, allocations: 0 / 0.5188 GB, free: 2.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005023/0.4081, allocations: 133.7 kB / 0.5189 GB, free: 2.387 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.4082, allocations: 81.05 kB / 0.519 GB, free: 2.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.4084, allocations: 161.8 kB / 0.5191 GB, free: 2.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.4084, allocations: 25.7 kB / 0.5191 GB, free: 2.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.4085, allocations: 88.14 kB / 0.5192 GB, free: 2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.4085, allocations: 19.75 kB / 0.5192 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.4086, allocations: 33.69 kB / 0.5193 GB, free: 1.941 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4088, allocations: 322.8 kB / 0.5196 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.4089, allocations: 19.98 kB / 0.5196 GB, free: 1.598 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.409, allocations: 55.41 kB / 0.5197 GB, free: 1.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.4093, allocations: 87.95 kB / 0.5197 GB, free: 1.434 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4093, allocations: 0 / 0.5197 GB, free: 1.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000348/0.4096, allocations: 117.6 kB / 0.5199 GB, free: 1.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4096, allocations: 8 kB / 0.5199 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4096, allocations: 0 / 0.5199 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4097, allocations: 3.984 kB / 0.5199 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4098, allocations: 32.84 kB / 0.5199 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.4098, allocations: 0 / 0.5199 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.41, allocations: 7.953 kB / 0.5199 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.41, allocations: 15.98 kB / 0.5199 GB, free: 1.246 MB / 446.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.863e-05/0.4101, allocations: 117.8 kB / 0.52 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.4102, allocations: 4 kB / 0.52 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005971/0.4108, allocations: 232.8 kB / 0.5203 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4108, allocations: 17.73 kB / 0.5203 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4108, allocations: 4 kB / 0.5203 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4108, allocations: 0 / 0.5203 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.411, allocations: 214.9 kB / 0.5205 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.411, allocations: 11.92 kB / 0.5205 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.4112, allocations: 19.97 kB / 0.5205 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4112, allocations: 0 / 0.5205 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4112, allocations: 0 / 0.5205 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4113, allocations: 4 kB / 0.5205 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4113, allocations: 0 / 0.5205 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.4117, allocations: 181.8 kB / 0.5207 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.4118, allocations: 89.5 kB / 0.5208 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.4118, allocations: 4 kB / 0.5208 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.412, allocations: 8.484 kB / 0.5208 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.412, allocations: 7.984 kB / 0.5208 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.4121, allocations: 8.062 kB / 0.5208 GB, free: 248 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.4122, allocations: 133.4 kB / 0.5209 GB, free: 116 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4122, allocations: 0 / 0.5209 GB, free: 116 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005234/0.4128, allocations: 175.5 kB / 0.5211 GB, free: 15.94 MB / 462.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.001405/0.4142, allocations: 0.9987 MB / 0.5221 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.4145, allocations: 75.97 kB / 0.5221 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4145, allocations: 4.125 kB / 0.5222 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.4146, allocations: 44 kB / 0.5222 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.4148, allocations: 12.03 kB / 0.5222 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4175, allocations: 1.812 MB / 0.524 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.4178, allocations: 0.6846 MB / 0.5246 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005617/0.4184, allocations: 435 kB / 0.5251 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.4185, allocations: 43.39 kB / 0.5251 GB, free: 11.69 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4185, allocations: 3.938 kB / 0.5251 GB, free: 11.69 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.4515, allocations: 7.618 MB / 0.5325 GB, free: 4.023 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.213, allocations: 4 kB / 0.5325 GB, free: 4.02 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches