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.001139/0.001139, allocations: 101.6 kB / 17.72 MB, free: 5.359 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.001222/0.001222, allocations: 188.1 kB / 18.66 MB, free: 4.434 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.244/1.244, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001169/0.00117, allocations: 51.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07868/0.07986, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00242/0.08233, allocations: 1.349 MB / 376 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3163/0.3986, allocations: 150.4 MB / 0.514 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.3988, allocations: 0 / 0.514 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.3988, allocations: 10 kB / 0.514 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008618/0.3997, allocations: 234.8 kB / 0.5142 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.4013, allocations: 0.6245 MB / 0.5149 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.4015, allocations: 59.66 kB / 0.5149 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.4015, allocations: 11.98 kB / 0.5149 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.4016, allocations: 15.94 kB / 0.5149 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.4017, allocations: 31.89 kB / 0.515 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4017, allocations: 7.938 kB / 0.515 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.4033, allocations: 0.8897 MB / 0.5158 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.4033, allocations: 4 kB / 0.5158 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.4034, allocations: 27.86 kB / 0.5159 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.4047, allocations: 0.5887 MB / 0.5164 GB, free: 5.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4047, allocations: 0 / 0.5164 GB, free: 5.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4047, allocations: 4 kB / 0.5165 GB, free: 5.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4047, allocations: 4 kB / 0.5165 GB, free: 5.324 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.0007081/0.4055, allocations: 451.8 kB / 0.5169 GB, free: 4.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4055, allocations: 12.02 kB / 0.5169 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.4056, allocations: 34.75 kB / 0.5169 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.4067, allocations: 96.7 kB / 0.517 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.407, allocations: 216.3 kB / 0.5172 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.407, allocations: 7.938 kB / 0.5172 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.407, allocations: 0.875 kB / 0.5172 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.4072, allocations: 103.2 kB / 0.5173 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4073, allocations: 0 / 0.5173 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4073, allocations: 0 / 0.5173 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4073, allocations: 0 / 0.5173 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.4075, allocations: 51.95 kB / 0.5174 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.4077, allocations: 213 kB / 0.5176 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.4082, allocations: 125.1 kB / 0.5177 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4083, allocations: 41.77 kB / 0.5177 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006385/0.4089, allocations: 0.9862 MB / 0.5187 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.409, allocations: 42.48 kB / 0.5188 GB, free: 2.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.409, allocations: 0 / 0.5188 GB, free: 2.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004785/0.4095, allocations: 121.6 kB / 0.5189 GB, free: 2.438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.4095, allocations: 92.97 kB / 0.519 GB, free: 2.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.4098, allocations: 153.8 kB / 0.5191 GB, free: 2.168 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.4098, allocations: 25.7 kB / 0.5191 GB, free: 2.137 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.4099, allocations: 84.14 kB / 0.5192 GB, free: 2.051 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.4099, allocations: 23.64 kB / 0.5192 GB, free: 2.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.41, allocations: 33.69 kB / 0.5193 GB, free: 1.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4101, allocations: 314.8 kB / 0.5196 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4102, allocations: 27.97 kB / 0.5196 GB, free: 1.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4103, allocations: 56.5 kB / 0.5196 GB, free: 1.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.4105, allocations: 83.28 kB / 0.5197 GB, free: 1.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4106, allocations: 0 / 0.5197 GB, free: 1.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003296/0.4109, allocations: 125.9 kB / 0.5198 GB, free: 1.355 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4109, allocations: 4 kB / 0.5198 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4109, allocations: 4 kB / 0.5199 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4109, allocations: 0 / 0.5199 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4111, allocations: 31.95 kB / 0.5199 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.4111, allocations: 0 / 0.5199 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.4113, allocations: 7.984 kB / 0.5199 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.4113, allocations: 11.98 kB / 0.5199 GB, free: 1.297 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.714e-05/0.4114, allocations: 117.8 kB / 0.52 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.4115, allocations: 7.906 kB / 0.52 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005602/0.412, allocations: 240.4 kB / 0.5203 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4121, allocations: 4.625 kB / 0.5203 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4121, allocations: 0 / 0.5203 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4121, allocations: 0 / 0.5203 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.4123, allocations: 222.9 kB / 0.5205 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4123, allocations: 3.688 kB / 0.5205 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.4125, allocations: 23.97 kB / 0.5205 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4125, allocations: 0 / 0.5205 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4125, allocations: 0 / 0.5205 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4125, allocations: 3.938 kB / 0.5205 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4125, allocations: 4 kB / 0.5205 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.4129, allocations: 181.7 kB / 0.5207 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.413, allocations: 97.02 kB / 0.5208 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.413, allocations: 3.938 kB / 0.5208 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4132, allocations: 8 kB / 0.5208 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.4133, allocations: 7.984 kB / 0.5208 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4133, allocations: 8.062 kB / 0.5208 GB, free: 292 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.4134, allocations: 128.9 kB / 0.5209 GB, free: 164 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4134, allocations: 0 / 0.5209 GB, free: 164 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005308/0.414, allocations: 172 kB / 0.5211 GB, free: 15.99 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.001327/0.4153, allocations: 0.9968 MB / 0.5221 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.4156, allocations: 76 kB / 0.5221 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4156, allocations: 4 kB / 0.5221 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.4157, allocations: 35.92 kB / 0.5222 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.4159, allocations: 15.98 kB / 0.5222 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.4183, allocations: 1.812 MB / 0.5239 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.4186, allocations: 0.6923 MB / 0.5246 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004954/0.4191, allocations: 429.1 kB / 0.525 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.4192, allocations: 47.33 kB / 0.5251 GB, free: 11.74 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4192, allocations: 0 / 0.5251 GB, free: 11.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.4451, allocations: 7.68 MB / 0.5326 GB, free: 4.012 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.736, allocations: 12.06 kB / 0.5326 GB, free: 4 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