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.001298/0.001298, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001265/0.001265, allocations: 183.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.352/1.352, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001681/0.001681, allocations: 47.94 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08967, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002426/0.09215, allocations: 1.353 MB / 376 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3196/0.4117, allocations: 150.4 MB / 0.514 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.4119, allocations: 0 / 0.514 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.4119, allocations: 10 kB / 0.514 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000961/0.4129, allocations: 230.8 kB / 0.5143 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.4148, allocations: 0.6294 MB / 0.5149 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.415, allocations: 55.67 kB / 0.5149 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.415, allocations: 11.98 kB / 0.5149 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.4151, allocations: 19.92 kB / 0.515 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.4152, allocations: 35.83 kB / 0.515 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.4152, allocations: 4 kB / 0.515 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.417, allocations: 0.8734 MB / 0.5158 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.417, allocations: 11.97 kB / 0.5159 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.4171, allocations: 23.88 kB / 0.5159 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.4183, allocations: 0.6001 MB / 0.5165 GB, free: 5.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4183, allocations: 0 / 0.5165 GB, free: 5.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4184, allocations: 4 kB / 0.5165 GB, free: 5.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.4184, allocations: 0 / 0.5165 GB, free: 5.309 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.0006969/0.4191, allocations: 466.2 kB / 0.5169 GB, free: 4.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4191, allocations: 8.031 kB / 0.5169 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.4192, allocations: 38.73 kB / 0.517 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.4202, allocations: 96.75 kB / 0.5171 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.4205, allocations: 212.3 kB / 0.5173 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.4206, allocations: 3.938 kB / 0.5173 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.4206, allocations: 4 kB / 0.5173 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.4208, allocations: 99.2 kB / 0.5174 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4209, allocations: 0 / 0.5174 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4209, allocations: 0 / 0.5174 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4209, allocations: 0 / 0.5174 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.4211, allocations: 51.95 kB / 0.5174 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.4214, allocations: 210.8 kB / 0.5176 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.4219, allocations: 125.1 kB / 0.5177 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.422, allocations: 37.77 kB / 0.5178 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007967/0.4228, allocations: 0.9901 MB / 0.5187 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4229, allocations: 38.5 kB / 0.5188 GB, free: 2.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 3.647e-06/0.4229, allocations: 0 / 0.5188 GB, free: 2.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005075/0.4234, allocations: 125.5 kB / 0.5189 GB, free: 2.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4235, allocations: 85.05 kB / 0.519 GB, free: 2.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.4237, allocations: 162.6 kB / 0.5191 GB, free: 2.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.4237, allocations: 25.7 kB / 0.5191 GB, free: 2.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.4238, allocations: 84.14 kB / 0.5192 GB, free: 2.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.4239, allocations: 31.72 kB / 0.5193 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.4239, allocations: 29.7 kB / 0.5193 GB, free: 1.961 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4241, allocations: 318.8 kB / 0.5196 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.4242, allocations: 23.98 kB / 0.5196 GB, free: 1.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.4243, allocations: 57.52 kB / 0.5197 GB, free: 1.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.4246, allocations: 87.27 kB / 0.5197 GB, free: 1.453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4246, allocations: 0 / 0.5197 GB, free: 1.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003633/0.425, allocations: 117.6 kB / 0.5199 GB, free: 1.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.425, allocations: 7.984 kB / 0.5199 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.425, allocations: 4 kB / 0.5199 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.425, allocations: 0 / 0.5199 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.4252, allocations: 31.91 kB / 0.5199 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4252, allocations: 0 / 0.5199 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.4254, allocations: 7.953 kB / 0.5199 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.4254, allocations: 11.98 kB / 0.5199 GB, free: 1.27 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 9.341e-05/0.4255, allocations: 121.8 kB / 0.52 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.4256, allocations: 4 kB / 0.52 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006462/0.4262, allocations: 240.8 kB / 0.5203 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4262, allocations: 4 kB / 0.5203 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4262, allocations: 0 / 0.5203 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4263, allocations: 0 / 0.5203 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.4265, allocations: 219.5 kB / 0.5205 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4265, allocations: 2.812 kB / 0.5205 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.4267, allocations: 19.97 kB / 0.5205 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.4267, allocations: 4 kB / 0.5205 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4267, allocations: 0 / 0.5205 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4267, allocations: 3.938 kB / 0.5205 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4267, allocations: 0 / 0.5205 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.4272, allocations: 189.7 kB / 0.5207 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.4273, allocations: 93.06 kB / 0.5208 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.4273, allocations: 0 / 0.5208 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4275, allocations: 11.98 kB / 0.5208 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.4275, allocations: 7.984 kB / 0.5208 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.4276, allocations: 8.062 kB / 0.5208 GB, free: 268 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.4278, allocations: 127.2 kB / 0.5209 GB, free: 140 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4278, allocations: 0 / 0.5209 GB, free: 140 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.4284, allocations: 175.5 kB / 0.5211 GB, free: 15.96 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.001656/0.43, allocations: 0.9925 MB / 0.5221 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.4303, allocations: 75.88 kB / 0.5221 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4303, allocations: 4.125 kB / 0.5221 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.4305, allocations: 39.91 kB / 0.5222 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.4307, allocations: 14.52 kB / 0.5222 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.4335, allocations: 1.819 MB / 0.524 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.4339, allocations: 0.6846 MB / 0.5246 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005787/0.4345, allocations: 431.2 kB / 0.5251 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.4347, allocations: 51.33 kB / 0.5251 GB, free: 11.71 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4347, allocations: 0 / 0.5251 GB, free: 11.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.4703, allocations: 7.617 MB / 0.5325 GB, free: 4.043 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.446, allocations: 8 kB / 0.5325 GB, free: 4.035 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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