Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_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.0008314/0.0008316, allocations: 92.75 kB / 16.65 MB, free: 6.535 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.0008482/0.0008482, allocations: 174.3 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002093/0.0002097, allocations: 4 kB / 301.5 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07202/0.07224, allocations: 50.42 MB / 351.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001077/0.07333, allocations: 1.091 MB / 353 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2472/0.3205, allocations: 144.9 MB / 497.9 MB, free: 3.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.3206, allocations: 4 kB / 497.9 MB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.3206, allocations: 7.922 kB / 497.9 MB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006635/0.3213, allocations: 210.8 kB / 498.1 MB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.322, allocations: 334.7 kB / 498.5 MB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.3221, allocations: 47.73 kB / 498.5 MB, free: 2.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.904e-05/0.3222, allocations: 4 kB / 498.5 MB, free: 2.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.3222, allocations: 27.91 kB / 498.5 MB, free: 2.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.3223, allocations: 23.92 kB / 498.6 MB, free: 2.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.3223, allocations: 4 kB / 498.6 MB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009253/0.3232, allocations: 0.6293 MB / 499.2 MB, free: 2.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.3232, allocations: 3.938 kB / 499.2 MB, free: 2.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.3233, allocations: 53.61 kB / 499.3 MB, free: 2.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.3239, allocations: 0.4885 MB / 499.7 MB, free: 1.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.3239, allocations: 0 / 499.7 MB, free: 1.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3239, allocations: 0 / 499.7 MB, free: 1.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.324, allocations: 0 / 499.7 MB, free: 1.73 MB / 398.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.0004375/0.3244, allocations: 428 kB / 0.4884 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3244, allocations: 8.031 kB / 0.4884 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.3245, allocations: 34.75 kB / 0.4885 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009461/0.3254, allocations: 93.7 kB / 0.4886 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.3257, allocations: 223.8 kB / 0.4888 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3257, allocations: 4 kB / 0.4888 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3257, allocations: 7.906 kB / 0.4888 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3259, allocations: 91.33 kB / 0.4889 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.3259, allocations: 0 / 0.4889 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3259, allocations: 0 / 0.4889 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3259, allocations: 1.312 kB / 0.4889 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3261, allocations: 55.86 kB / 0.4889 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.3263, allocations: 214.9 kB / 0.4891 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.3267, allocations: 117.1 kB / 0.4893 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3268, allocations: 41.69 kB / 0.4893 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005255/0.3273, allocations: 0.9862 MB / 0.4903 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3274, allocations: 34.56 kB / 0.4903 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3274, allocations: 0 / 0.4903 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004027/0.3278, allocations: 133.5 kB / 0.4904 GB, free: 14.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3278, allocations: 77.11 kB / 0.4905 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.328, allocations: 150.6 kB / 0.4906 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3281, allocations: 29.7 kB / 0.4907 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.3281, allocations: 84.14 kB / 0.4907 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3281, allocations: 23.7 kB / 0.4908 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.3282, allocations: 17.66 kB / 0.4908 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.3283, allocations: 322.8 kB / 0.4911 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-05/0.3284, allocations: 23.98 kB / 0.4911 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3285, allocations: 55.7 kB / 0.4912 GB, free: 14.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3287, allocations: 87.33 kB / 0.4912 GB, free: 13.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3287, allocations: 0 / 0.4912 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002847/0.329, allocations: 125.4 kB / 0.4914 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.329, allocations: 4 kB / 0.4914 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.329, allocations: 4.062 kB / 0.4914 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.329, allocations: 4 kB / 0.4914 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3291, allocations: 27.89 kB / 0.4914 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3292, allocations: 4 kB / 0.4914 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3293, allocations: 11.94 kB / 0.4914 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3294, allocations: 7.984 kB / 0.4914 GB, free: 13.75 MB / 414.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.572e-05/0.3294, allocations: 121.7 kB / 0.4915 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3295, allocations: 3.906 kB / 0.4915 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.33, allocations: 237.7 kB / 0.4918 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.33, allocations: 8.031 kB / 0.4918 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.33, allocations: 3.984 kB / 0.4918 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.33, allocations: 0 / 0.4918 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.3302, allocations: 215 kB / 0.492 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3302, allocations: 0.875 kB / 0.492 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.3303, allocations: 23.97 kB / 0.492 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3304, allocations: 3.984 kB / 0.492 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3304, allocations: 4 kB / 0.492 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3304, allocations: 0 / 0.492 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3304, allocations: 3 kB / 0.492 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.3308, allocations: 185.7 kB / 0.4922 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.3308, allocations: 96.97 kB / 0.4923 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.3309, allocations: 4 kB / 0.4923 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.331, allocations: 7.984 kB / 0.4923 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.3311, allocations: 7.984 kB / 0.4923 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3311, allocations: 8 kB / 0.4923 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.3312, allocations: 131.2 kB / 0.4924 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3312, allocations: 8.062 kB / 0.4925 GB, free: 12.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.3316, allocations: 119.9 kB / 0.4926 GB, free: 12.48 MB / 414.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.001075/0.3327, allocations: 0.9294 MB / 0.4935 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.333, allocations: 75.88 kB / 0.4936 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.333, allocations: 0 / 0.4936 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3331, allocations: 35.98 kB / 0.4936 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.3333, allocations: 11.98 kB / 0.4936 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.3355, allocations: 1.853 MB / 0.4954 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.3357, allocations: 0.6974 MB / 0.4961 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005148/0.3362, allocations: 427.2 kB / 0.4965 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3363, allocations: 51.38 kB / 0.4965 GB, free: 8.258 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3363, allocations: 0 / 0.4965 GB, free: 8.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.554/2.89, allocations: 6.22 MB / 0.5026 GB, free: 2.188 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/2.891, allocations: 257.4 kB / 0.5029 GB, free: 1.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/5.213, allocations: 4 kB / 0.5029 GB, free: 1.891 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches