Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008328/0.0008328, allocations: 96.56 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009619/0.0009619, allocations: 205.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001889/0.0001889, allocations: 4 kB / 307.8 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07516/0.07537, allocations: 51.51 MB / 359.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001177/0.07658, allocations: 1.095 MB / 360.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2741/0.3507, allocations: 147.8 MB / 0.4963 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.3508, allocations: 0 / 0.4963 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.3508, allocations: 7.922 kB / 0.4963 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000682/0.3515, allocations: 203.9 kB / 0.4965 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.3523, allocations: 337.3 kB / 0.4968 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.3524, allocations: 51.67 kB / 0.4969 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.3524, allocations: 9.688 kB / 0.4969 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.3524, allocations: 27.91 kB / 0.4969 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.3525, allocations: 31.84 kB / 0.4969 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3525, allocations: 5.594 kB / 0.497 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008825/0.3534, allocations: 0.6238 MB / 0.4976 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.3535, allocations: 7.984 kB / 0.4976 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.3535, allocations: 49.56 kB / 0.4976 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.3541, allocations: 0.499 MB / 0.4981 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3541, allocations: 0 / 0.4981 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3541, allocations: 0 / 0.4981 GB, free: 5.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3541, allocations: 0 / 0.4981 GB, free: 5.012 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.0003927/0.3545, allocations: 420 kB / 0.4985 GB, free: 4.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.3546, allocations: 8.031 kB / 0.4985 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.3546, allocations: 34.75 kB / 0.4985 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.3557, allocations: 112.7 kB / 0.4987 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.356, allocations: 223.8 kB / 0.4989 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.356, allocations: 7.938 kB / 0.4989 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.356, allocations: 0 / 0.4989 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.3562, allocations: 91.33 kB / 0.499 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.3562, allocations: 0 / 0.499 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3562, allocations: 5.594 kB / 0.499 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3562, allocations: 0 / 0.499 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.3564, allocations: 51.89 kB / 0.499 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.3566, allocations: 210.6 kB / 0.4992 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.357, allocations: 125.1 kB / 0.4993 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3571, allocations: 41.75 kB / 0.4994 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/0.3576, allocations: 0.99 MB / 0.5003 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.3577, allocations: 34.56 kB / 0.5004 GB, free: 2.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3577, allocations: 0 / 0.5004 GB, free: 2.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003932/0.3581, allocations: 137.5 kB / 0.5005 GB, free: 2.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3581, allocations: 81.09 kB / 0.5006 GB, free: 2.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.3583, allocations: 158.5 kB / 0.5007 GB, free: 1.871 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3583, allocations: 25.7 kB / 0.5008 GB, free: 1.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.3583, allocations: 84.12 kB / 0.5008 GB, free: 1.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.3584, allocations: 23.73 kB / 0.5009 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.3584, allocations: 17.72 kB / 0.5009 GB, free: 1.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.3585, allocations: 314.8 kB / 0.5012 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.3586, allocations: 35.91 kB / 0.5012 GB, free: 1.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.855e-05/0.3587, allocations: 55.72 kB / 0.5013 GB, free: 1.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.3589, allocations: 79.33 kB / 0.5013 GB, free: 1.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3589, allocations: 4 kB / 0.5013 GB, free: 1.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002775/0.3592, allocations: 125.4 kB / 0.5015 GB, free: 1.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.3592, allocations: 4 kB / 0.5015 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.3592, allocations: 0 / 0.5015 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.3593, allocations: 4 kB / 0.5015 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3594, allocations: 23.97 kB / 0.5015 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3594, allocations: 8.141 kB / 0.5015 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.3596, allocations: 13.55 kB / 0.5015 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.3596, allocations: 7.984 kB / 0.5015 GB, free: 1.008 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 6.948e-05/0.3597, allocations: 117.7 kB / 0.5016 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.3597, allocations: 7.906 kB / 0.5016 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.3602, allocations: 241.6 kB / 0.5019 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3602, allocations: 4 kB / 0.5019 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3602, allocations: 0 / 0.5019 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3602, allocations: 0 / 0.5019 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3604, allocations: 218.9 kB / 0.5021 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3604, allocations: 48 / 0.5021 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.3605, allocations: 24.83 kB / 0.5021 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3606, allocations: 0 / 0.5021 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3606, allocations: 7.984 kB / 0.5021 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3606, allocations: 0 / 0.5021 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3606, allocations: 4 kB / 0.5021 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3609, allocations: 178.6 kB / 0.5023 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.361, allocations: 101 kB / 0.5024 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.3611, allocations: 4 kB / 0.5024 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3612, allocations: 3.984 kB / 0.5024 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.3613, allocations: 12.06 kB / 0.5024 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.3613, allocations: 8.031 kB / 0.5024 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.3614, allocations: 131.2 kB / 0.5025 GB, free: 15.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3614, allocations: 0 / 0.5025 GB, free: 15.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.3618, allocations: 127.9 kB / 0.5027 GB, free: 15.74 MB / 430.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.001048/0.3629, allocations: 0.9321 MB / 0.5036 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3631, allocations: 75.88 kB / 0.5036 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3631, allocations: 4.125 kB / 0.5036 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3633, allocations: 35.98 kB / 0.5037 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.3635, allocations: 19.86 kB / 0.5037 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.3656, allocations: 1.842 MB / 0.5055 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.3658, allocations: 0.6887 MB / 0.5062 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005191/0.3663, allocations: 423.2 kB / 0.5066 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3665, allocations: 55.38 kB / 0.5066 GB, free: 11.52 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3665, allocations: 0 / 0.5066 GB, free: 11.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.381, allocations: 6.25 MB / 0.5127 GB, free: 5.422 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.3812, allocations: 259.8 kB / 0.513 GB, free: 5.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.095, allocations: 0 / 0.513 GB, free: 5.16 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches