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.001145/0.001145, allocations: 108.9 kB / 17.16 MB, free: 6.305 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.001171/0.001171, allocations: 198 kB / 18.07 MB, free: 5.41 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.189/1.189, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.0009794/0.0009795, allocations: 43.92 kB / 280.1 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06876/0.06975, allocations: 46.64 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001936/0.07171, allocations: 1.413 MB / 328.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2453/0.3171, allocations: 148.1 MB / 476.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.3171, allocations: 3.938 kB / 476.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.3172, allocations: 7.984 kB / 476.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006321/0.3178, allocations: 202.6 kB / 476.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3189, allocations: 0.5168 MB / 476.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.319, allocations: 59.67 kB / 477 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.893e-05/0.319, allocations: 4 kB / 477 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.319, allocations: 27.91 kB / 477 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.3191, allocations: 27.91 kB / 477.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.3191, allocations: 0 / 477.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.3202, allocations: 0.7914 MB / 477.9 MB, free: 292 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.3202, allocations: 15.92 kB / 477.9 MB, free: 276 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.3202, allocations: 11.94 kB / 477.9 MB, free: 264 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000742/0.321, allocations: 0.6237 MB / 478.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.321, allocations: 0 / 478.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.321, allocations: 2.812 kB / 478.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.321, allocations: 0 / 478.5 MB, free: 15.63 MB / 382.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.0004462/0.3215, allocations: 460 kB / 479 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3215, allocations: 8.031 kB / 479 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.3215, allocations: 34.69 kB / 479 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3226, allocations: 96.7 kB / 479.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3228, allocations: 224.2 kB / 479.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3228, allocations: 4.812 kB / 479.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3229, allocations: 8 kB / 479.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.3231, allocations: 91.33 kB / 479.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.3231, allocations: 0 / 479.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3231, allocations: 0 / 479.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3231, allocations: 0 / 479.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3233, allocations: 51.89 kB / 479.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.3235, allocations: 218 kB / 479.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.3239, allocations: 121.1 kB / 479.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.324, allocations: 37.73 kB / 479.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/0.3246, allocations: 0.994 MB / 480.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.3246, allocations: 34.56 kB / 480.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3246, allocations: 0 / 480.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004518/0.3251, allocations: 133.4 kB / 481 MB, free: 12.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.3251, allocations: 81.11 kB / 481.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3253, allocations: 157.8 kB / 481.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3253, allocations: 25.7 kB / 481.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.3254, allocations: 84.14 kB / 481.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3254, allocations: 23.66 kB / 481.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.3255, allocations: 33.69 kB / 481.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.3255, allocations: 314.8 kB / 481.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.3256, allocations: 27.98 kB / 481.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3258, allocations: 59.28 kB / 481.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.326, allocations: 88.17 kB / 481.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.326, allocations: 0 / 481.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000322/0.3263, allocations: 117.5 kB / 482 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3263, allocations: 4 kB / 482 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3264, allocations: 8.062 kB / 482 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.3264, allocations: 0 / 482 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3265, allocations: 27.97 kB / 482 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3265, allocations: 0 / 482 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.3267, allocations: 7.984 kB / 482 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3267, allocations: 11.92 kB / 482 MB, free: 11.6 MB / 382.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.414e-05/0.3268, allocations: 121.7 kB / 482.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.3269, allocations: 3.906 kB / 482.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.3274, allocations: 235.9 kB / 482.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3274, allocations: 4 kB / 482.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3274, allocations: 0 / 482.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3274, allocations: 4.5 kB / 482.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.3276, allocations: 227.5 kB / 482.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3276, allocations: 0 / 482.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.3278, allocations: 19.97 kB / 482.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3278, allocations: 4 kB / 482.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3278, allocations: 3.984 kB / 482.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3278, allocations: 7.875 kB / 482.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3278, allocations: 0 / 482.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.3282, allocations: 181.8 kB / 482.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.3283, allocations: 93.03 kB / 482.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.3283, allocations: 0 / 482.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3285, allocations: 11.92 kB / 482.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.3286, allocations: 8 kB / 482.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3286, allocations: 7.984 kB / 483 MB, free: 10.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3288, allocations: 127.2 kB / 483.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3288, allocations: 4.062 kB / 483.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000448/0.3292, allocations: 163.9 kB / 483.2 MB, free: 10.3 MB / 382.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.001212/0.3304, allocations: 1.001 MB / 484.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.3307, allocations: 75.88 kB / 484.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3307, allocations: 0 / 484.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3308, allocations: 40.03 kB / 484.4 MB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.331, allocations: 20 kB / 484.4 MB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.3334, allocations: 1.806 MB / 486.2 MB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.3336, allocations: 0.6887 MB / 486.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005118/0.3341, allocations: 427.2 kB / 487.3 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3342, allocations: 47.38 kB / 487.3 MB, free: 6.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3342, allocations: 0 / 487.3 MB, free: 6.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9417/1.276, allocations: 7.346 MB / 494.7 MB, free: 14.67 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.276, allocations: 258.7 kB / 494.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/3.479, allocations: 0 / 494.9 MB, free: 14.41 MB / 398.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","../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