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.001209/0.001209, allocations: 106.6 kB / 16.51 MB, free: 6.707 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.001007/0.001007, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 46.56 kB / 300.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08914, allocations: 49.45 MB / 349.5 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002332/0.0915, allocations: 1.414 MB / 350.9 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2735/0.365, allocations: 146.5 MB / 497.4 MB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.3651, allocations: 0 / 497.4 MB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.3652, allocations: 0 / 497.4 MB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008399/0.366, allocations: 207.7 kB / 497.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.3669, allocations: 330.5 kB / 497.9 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.752e-05/0.3671, allocations: 59.66 kB / 498 MB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.3671, allocations: 7.984 kB / 498 MB, free: 476 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.3671, allocations: 15.94 kB / 498 MB, free: 460 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.3672, allocations: 27.91 kB / 498 MB, free: 432 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3672, allocations: 4 kB / 498 MB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.3684, allocations: 0.6293 MB / 498.7 MB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.3685, allocations: 11.92 kB / 498.7 MB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.3685, allocations: 19.94 kB / 498.7 MB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008875/0.3694, allocations: 0.4911 MB / 499.2 MB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3694, allocations: 0 / 499.2 MB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3694, allocations: 0 / 499.2 MB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.3694, allocations: 0 / 499.2 MB, free: 15.27 MB / 414.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.0005357/0.37, allocations: 436.4 kB / 499.6 MB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.37, allocations: 12.03 kB / 499.6 MB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.37, allocations: 34.75 kB / 499.7 MB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.3712, allocations: 92.98 kB / 499.7 MB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3714, allocations: 223.8 kB / 500 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3715, allocations: 0 / 500 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.3715, allocations: 4 kB / 500 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.3717, allocations: 95.27 kB / 0.4883 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3717, allocations: 0 / 0.4883 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3717, allocations: 3.984 kB / 0.4883 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3718, allocations: 4 kB / 0.4883 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.3719, allocations: 39.95 kB / 0.4884 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.3722, allocations: 210.9 kB / 0.4886 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.3726, allocations: 129.1 kB / 0.4887 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3728, allocations: 33.69 kB / 0.4887 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.3733, allocations: 0.994 MB / 0.4897 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3734, allocations: 38.5 kB / 0.4897 GB, free: 12.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3734, allocations: 4 kB / 0.4898 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000461/0.3738, allocations: 133.4 kB / 0.4899 GB, free: 12.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.3739, allocations: 77.11 kB / 0.49 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3741, allocations: 149.8 kB / 0.4901 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3741, allocations: 29.7 kB / 0.4901 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.3741, allocations: 88.12 kB / 0.4902 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.3742, allocations: 23.72 kB / 0.4902 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.3743, allocations: 37.69 kB / 0.4903 GB, free: 11.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.3743, allocations: 314.8 kB / 0.4906 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3745, allocations: 27.97 kB / 0.4906 GB, free: 11.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3746, allocations: 55.34 kB / 0.4906 GB, free: 11.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3748, allocations: 87.33 kB / 0.4907 GB, free: 11.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3748, allocations: 0.6875 kB / 0.4907 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003266/0.3751, allocations: 117.6 kB / 0.4908 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3752, allocations: 4 kB / 0.4908 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3752, allocations: 0 / 0.4908 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3752, allocations: 12 kB / 0.4909 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3753, allocations: 23.97 kB / 0.4909 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3753, allocations: 4 kB / 0.4909 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.3755, allocations: 16.39 kB / 0.4909 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3756, allocations: 4.656 kB / 0.4909 GB, free: 11.26 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 8.025e-05/0.3756, allocations: 117.8 kB / 0.491 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3757, allocations: 4 kB / 0.491 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/0.3762, allocations: 239.8 kB / 0.4913 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3762, allocations: 0 / 0.4913 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3763, allocations: 4 kB / 0.4913 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3763, allocations: 0 / 0.4913 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3764, allocations: 223.3 kB / 0.4915 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3765, allocations: 4 kB / 0.4915 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.3766, allocations: 23.97 kB / 0.4915 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3767, allocations: 0 / 0.4915 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3767, allocations: 4 kB / 0.4915 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3767, allocations: 3.984 kB / 0.4915 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3767, allocations: 0 / 0.4915 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.3771, allocations: 189.7 kB / 0.4917 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.3772, allocations: 93.02 kB / 0.4918 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3772, allocations: 7.938 kB / 0.4918 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3774, allocations: 4 kB / 0.4918 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.3774, allocations: 7.984 kB / 0.4918 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3775, allocations: 4 kB / 0.4918 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3776, allocations: 135.2 kB / 0.4919 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3776, allocations: 0 / 0.4919 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004451/0.3781, allocations: 128 kB / 0.492 GB, free: 9.996 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.001216/0.3793, allocations: 0.924 MB / 0.4929 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3796, allocations: 72.81 kB / 0.493 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3796, allocations: 7.938 kB / 0.493 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3797, allocations: 36.11 kB / 0.4931 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.3799, allocations: 11.98 kB / 0.4931 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3823, allocations: 1.812 MB / 0.4948 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.3825, allocations: 0.6887 MB / 0.4955 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005291/0.383, allocations: 436.5 kB / 0.4959 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.3832, allocations: 43.39 kB / 0.496 GB, free: 5.828 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3832, allocations: 4 kB / 0.496 GB, free: 5.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7255/1.109, allocations: 6.326 MB / 0.5022 GB, free: 15.62 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.109, allocations: 271.8 kB / 0.5024 GB, free: 15.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/3.733, allocations: 0 / 0.5024 GB, free: 15.32 MB / 430.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