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.001112/0.001112, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001078/0.001078, allocations: 192 kB / 18.51 MB, free: 4.508 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.109/1.109, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001063/0.001063, allocations: 56.39 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0666/0.06767, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001978/0.06968, allocations: 1.353 MB / 328.7 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2442/0.3139, allocations: 150.4 MB / 479.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.314, allocations: 3.938 kB / 479.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.314, allocations: 0 / 479.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.3147, allocations: 244 kB / 479.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3159, allocations: 0.625 MB / 480 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.316, allocations: 61.39 kB / 480 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.177e-05/0.316, allocations: 0 / 480 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.3161, allocations: 27.92 kB / 480 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.3162, allocations: 27.91 kB / 480.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3162, allocations: 0 / 480.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.3173, allocations: 0.7992 MB / 480.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.3174, allocations: 11.94 kB / 480.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.3174, allocations: 23.92 kB / 480.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007372/0.3181, allocations: 0.5964 MB / 481.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3182, allocations: 7.984 kB / 481.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3182, allocations: 0 / 481.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.3182, allocations: 0 / 481.5 MB, free: 12.83 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.0004748/0.3187, allocations: 448 kB / 481.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3187, allocations: 8.031 kB / 481.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.3187, allocations: 38.75 kB / 482 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009714/0.3197, allocations: 97.2 kB / 482.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.32, allocations: 224.1 kB / 482.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.32, allocations: 7.938 kB / 482.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.32, allocations: 1.781 kB / 482.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3202, allocations: 95.33 kB / 482.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.3202, allocations: 0 / 482.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3202, allocations: 0 / 482.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.3202, allocations: 3.984 kB / 482.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3204, allocations: 51.89 kB / 482.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.3206, allocations: 210.7 kB / 482.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.321, allocations: 125.1 kB / 482.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3211, allocations: 41.75 kB / 482.8 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.3217, allocations: 0.9862 MB / 483.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.3217, allocations: 34.56 kB / 483.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.324e-06/0.3217, allocations: 4 kB / 483.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004445/0.3222, allocations: 137.6 kB / 484 MB, free: 9.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3222, allocations: 77.11 kB / 484.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3224, allocations: 153.8 kB / 484.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3225, allocations: 25.7 kB / 484.2 MB, free: 9.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.3225, allocations: 84.12 kB / 484.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.3225, allocations: 23.66 kB / 484.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.3226, allocations: 37.69 kB / 484.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.3227, allocations: 322.8 kB / 484.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.3228, allocations: 23.97 kB / 484.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3229, allocations: 51.41 kB / 484.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.3231, allocations: 91.27 kB / 484.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3231, allocations: 0 / 484.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003111/0.3234, allocations: 117.5 kB / 485 MB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3235, allocations: 8 kB / 485 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3235, allocations: 0 / 485 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.3235, allocations: 3.938 kB / 485 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3236, allocations: 28.03 kB / 485 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3236, allocations: 4 kB / 485 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3238, allocations: 7.984 kB / 485 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.3238, allocations: 4 kB / 485 MB, free: 8.801 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.794e-05/0.3239, allocations: 125.7 kB / 485.1 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.324, allocations: 8.781 kB / 485.2 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.3245, allocations: 235.2 kB / 485.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3245, allocations: 0 / 485.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3245, allocations: 0 / 485.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3245, allocations: 4 kB / 485.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3247, allocations: 220.6 kB / 485.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3247, allocations: 0 / 485.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3248, allocations: 23.97 kB / 485.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3249, allocations: 4 kB / 485.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3249, allocations: 0 / 485.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3249, allocations: 7.984 kB / 485.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3249, allocations: 3.938 kB / 485.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.3253, allocations: 172 kB / 485.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.3254, allocations: 101.5 kB / 485.9 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.3254, allocations: 4 kB / 485.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.3256, allocations: 0 / 485.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.3256, allocations: 15.92 kB / 485.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3256, allocations: 4 kB / 485.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.3258, allocations: 131.2 kB / 486.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3258, allocations: 0 / 486.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.3262, allocations: 171.9 kB / 486.2 MB, free: 7.5 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.001163/0.3274, allocations: 1.01 MB / 487.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3277, allocations: 79.97 kB / 487.3 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3277, allocations: 0 / 487.3 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3278, allocations: 47.98 kB / 487.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.328, allocations: 8.75 kB / 487.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.3302, allocations: 1.788 MB / 489.2 MB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3304, allocations: 0.6846 MB / 489.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005044/0.331, allocations: 439.1 kB / 490.3 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.3311, allocations: 43.39 kB / 490.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3311, allocations: 4 kB / 490.3 MB, free: 3.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4705/0.8016, allocations: 7.58 MB / 497.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/8.383, allocations: 4.625 kB / 497.9 MB, free: 11.61 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","/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