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.001202/0.001202, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 64.77 kB / 306.6 MB, free: 0.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07699/0.07813, allocations: 50.53 MB / 357.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00235/0.08051, allocations: 1.428 MB / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.258/0.3385, allocations: 149.4 MB / 0.4961 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.3386, allocations: 0 / 0.4961 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.3387, allocations: 4 kB / 0.4961 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007192/0.3394, allocations: 213.8 kB / 0.4963 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000808/0.3402, allocations: 370.1 kB / 0.4966 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.3403, allocations: 55.7 kB / 0.4967 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.3403, allocations: 8 kB / 0.4967 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.3404, allocations: 15.94 kB / 0.4967 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.3404, allocations: 33.58 kB / 0.4967 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.3405, allocations: 4 kB / 0.4967 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009001/0.3414, allocations: 0.6394 MB / 0.4974 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.3414, allocations: 19.91 kB / 0.4974 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.3414, allocations: 15.94 kB / 0.4974 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006401/0.3421, allocations: 0.4989 MB / 0.4979 GB, free: 2.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3421, allocations: 0 / 0.4979 GB, free: 2.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3421, allocations: 0 / 0.4979 GB, free: 2.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3421, allocations: 0 / 0.4979 GB, free: 2.891 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.0004615/0.3426, allocations: 439.9 kB / 0.4983 GB, free: 2.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3426, allocations: 8.031 kB / 0.4983 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.669e-05/0.3426, allocations: 30.75 kB / 0.4983 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.3439, allocations: 112.8 kB / 0.4984 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3441, allocations: 219.8 kB / 0.4986 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3441, allocations: 7.938 kB / 0.4987 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.3442, allocations: 0.875 kB / 0.4987 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3443, allocations: 95.33 kB / 0.4987 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.3444, allocations: 0 / 0.4987 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3444, allocations: 2.719 kB / 0.4987 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3444, allocations: 0 / 0.4987 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3445, allocations: 47.95 kB / 0.4988 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.3448, allocations: 218.5 kB / 0.499 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.3452, allocations: 129.1 kB / 0.4991 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3453, allocations: 33.77 kB / 0.4992 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/0.3458, allocations: 0.9901 MB / 0.5001 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3459, allocations: 34.5 kB / 0.5002 GB, free: 148 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.3459, allocations: 4 kB / 0.5002 GB, free: 144 kB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004313/0.3463, allocations: 138 kB / 0.5003 GB, free: 0 / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3463, allocations: 77.11 kB / 0.5004 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.3465, allocations: 157.8 kB / 0.5005 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3466, allocations: 25.7 kB / 0.5005 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.3466, allocations: 80.14 kB / 0.5006 GB, free: 15.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.3466, allocations: 27.64 kB / 0.5006 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3467, allocations: 33.7 kB / 0.5007 GB, free: 15.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.3468, allocations: 322.8 kB / 0.501 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.3469, allocations: 31.91 kB / 0.501 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.347, allocations: 51.41 kB / 0.5011 GB, free: 15.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.3472, allocations: 87.33 kB / 0.5011 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3472, allocations: 0 / 0.5011 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002987/0.3475, allocations: 121.5 kB / 0.5013 GB, free: 14.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3476, allocations: 8 kB / 0.5013 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3476, allocations: 0 / 0.5013 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.3476, allocations: 0 / 0.5013 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3477, allocations: 32.03 kB / 0.5013 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3477, allocations: 0 / 0.5013 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3479, allocations: 7.906 kB / 0.5013 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.3479, allocations: 7.984 kB / 0.5013 GB, free: 14.87 MB / 430.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.504e-05/0.348, allocations: 125.7 kB / 0.5014 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.3481, allocations: 4 kB / 0.5014 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.3486, allocations: 251.6 kB / 0.5017 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3486, allocations: 0 / 0.5017 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3486, allocations: 0 / 0.5017 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3486, allocations: 0 / 0.5017 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3488, allocations: 219 kB / 0.5019 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3488, allocations: 0 / 0.5019 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.3489, allocations: 23.97 kB / 0.5019 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.349, allocations: 4 kB / 0.5019 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.349, allocations: 0 / 0.5019 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.349, allocations: 0 / 0.5019 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.349, allocations: 4 kB / 0.5019 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.3494, allocations: 177.7 kB / 0.5021 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.3494, allocations: 89.12 kB / 0.5022 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.3495, allocations: 8.922 kB / 0.5022 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3496, allocations: 4 kB / 0.5022 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.3497, allocations: 12.12 kB / 0.5022 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3497, allocations: 7.984 kB / 0.5022 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.3499, allocations: 127.2 kB / 0.5023 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3499, allocations: 0 / 0.5023 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.3503, allocations: 131.9 kB / 0.5025 GB, free: 13.61 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.001107/0.3514, allocations: 0.926 MB / 0.5034 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3516, allocations: 91.86 kB / 0.5034 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3517, allocations: 0 / 0.5034 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3518, allocations: 31.98 kB / 0.5035 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.352, allocations: 13.42 kB / 0.5035 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.3542, allocations: 1.805 MB / 0.5053 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.3543, allocations: 0.6923 MB / 0.5059 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.3549, allocations: 437.4 kB / 0.5063 GB, free: 9.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.355, allocations: 47.38 kB / 0.5064 GB, free: 9.418 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.355, allocations: 0 / 0.5064 GB, free: 9.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6761/1.031, allocations: 6.495 MB / 0.5127 GB, free: 3.074 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/1.031, allocations: 256 kB / 0.513 GB, free: 2.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.242, allocations: 0 / 0.513 GB, free: 2.816 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