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.001278/0.001278, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.27 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08304/0.08441, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.0022/0.08665, allocations: 1.369 MB / 358.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2641/0.3508, allocations: 151.6 MB / 0.4986 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.3508, allocations: 0 / 0.4986 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.3509, allocations: 7.922 kB / 0.4986 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007026/0.3516, allocations: 233.3 kB / 0.4988 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/0.3524, allocations: 401 kB / 0.4992 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.3525, allocations: 63.64 kB / 0.4993 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.3525, allocations: 0 / 0.4993 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.3526, allocations: 19.94 kB / 0.4993 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.3527, allocations: 39.83 kB / 0.4993 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.3527, allocations: 0 / 0.4993 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009258/0.3536, allocations: 0.6356 MB / 0.4999 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.3536, allocations: 7.984 kB / 0.4999 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.3537, allocations: 19.88 kB / 0.5 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.3543, allocations: 499 kB / 0.5004 GB, free: 360 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3543, allocations: 0 / 0.5004 GB, free: 360 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3543, allocations: 4 kB / 0.5004 GB, free: 356 kB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3543, allocations: 0 / 0.5004 GB, free: 356 kB / 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.0004582/0.3548, allocations: 431.9 kB / 0.5008 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3548, allocations: 11.97 kB / 0.5009 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.3549, allocations: 42.69 kB / 0.5009 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.3561, allocations: 104.8 kB / 0.501 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.3563, allocations: 219.8 kB / 0.5012 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.3564, allocations: 4 kB / 0.5012 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3564, allocations: 0 / 0.5012 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.3566, allocations: 95.33 kB / 0.5013 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.3566, allocations: 0 / 0.5013 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3566, allocations: 1.125 kB / 0.5013 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3566, allocations: 4 kB / 0.5013 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.3568, allocations: 43.89 kB / 0.5014 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.357, allocations: 210.6 kB / 0.5016 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.3575, allocations: 129.1 kB / 0.5017 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3576, allocations: 41.77 kB / 0.5017 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/0.3582, allocations: 0.9862 MB / 0.5027 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.3582, allocations: 34.56 kB / 0.5027 GB, free: 13.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3582, allocations: 0 / 0.5027 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004408/0.3587, allocations: 137.8 kB / 0.5028 GB, free: 13.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3587, allocations: 77.11 kB / 0.5029 GB, free: 13.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3589, allocations: 153.8 kB / 0.5031 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3589, allocations: 29.64 kB / 0.5031 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.359, allocations: 92.14 kB / 0.5032 GB, free: 13.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.359, allocations: 27.62 kB / 0.5032 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.3591, allocations: 25.7 kB / 0.5032 GB, free: 13.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.3592, allocations: 326.8 kB / 0.5035 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.316e-05/0.3593, allocations: 19.98 kB / 0.5036 GB, free: 12.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3594, allocations: 55.34 kB / 0.5036 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.3596, allocations: 91.42 kB / 0.5037 GB, free: 12.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3596, allocations: 0 / 0.5037 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003103/0.3599, allocations: 117.5 kB / 0.5038 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.36, allocations: 14.95 kB / 0.5038 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.36, allocations: 0 / 0.5038 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.36, allocations: 7.188 kB / 0.5038 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3601, allocations: 23.97 kB / 0.5039 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3601, allocations: 4.625 kB / 0.5039 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.3603, allocations: 11.84 kB / 0.5039 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3603, allocations: 11.98 kB / 0.5039 GB, free: 12.32 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.747e-05/0.3604, allocations: 121.7 kB / 0.504 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.3605, allocations: 4 kB / 0.504 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.361, allocations: 247.2 kB / 0.5042 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.361, allocations: 0 / 0.5042 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.361, allocations: 4 kB / 0.5042 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.361, allocations: 0 / 0.5042 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3612, allocations: 207 kB / 0.5044 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3612, allocations: 4 kB / 0.5044 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.3614, allocations: 27.97 kB / 0.5045 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3614, allocations: 0 / 0.5045 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3614, allocations: 0 / 0.5045 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3614, allocations: 7.938 kB / 0.5045 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3614, allocations: 0 / 0.5045 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.3618, allocations: 177.8 kB / 0.5046 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.3619, allocations: 85.12 kB / 0.5047 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.3619, allocations: 8 kB / 0.5047 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3621, allocations: 8.859 kB / 0.5047 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3622, allocations: 8.125 kB / 0.5048 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.3622, allocations: 4 kB / 0.5048 GB, free: 11.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.3623, allocations: 136.5 kB / 0.5049 GB, free: 11.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3623, allocations: 3.938 kB / 0.5049 GB, free: 11.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.3628, allocations: 135.9 kB / 0.505 GB, free: 11.06 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.001155/0.3639, allocations: 0.9271 MB / 0.5059 GB, free: 10.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3642, allocations: 75.88 kB / 0.506 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3642, allocations: 0 / 0.506 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3643, allocations: 43.91 kB / 0.506 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.3645, allocations: 20.33 kB / 0.5061 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.3669, allocations: 1.779 MB / 0.5078 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3671, allocations: 0.6924 MB / 0.5085 GB, free: 7.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000524/0.3677, allocations: 431.1 kB / 0.5089 GB, free: 6.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.3678, allocations: 47.38 kB / 0.5089 GB, free: 6.898 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3678, allocations: 0 / 0.5089 GB, free: 6.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9095/1.277, allocations: 6.599 MB / 0.5154 GB, free: 412 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.47, allocations: 6.891 kB / 0.5154 GB, free: 408 kB / 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