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.001251/0.001251, allocations: 106.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 60.61 kB / 306.3 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08878, allocations: 50.54 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002259/0.09107, allocations: 1.428 MB / 358.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2812/0.3723, allocations: 149.3 MB / 0.4958 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.3723, allocations: 0 / 0.4958 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.3724, allocations: 7.922 kB / 0.4958 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008775/0.3733, allocations: 206.1 kB / 0.496 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.3742, allocations: 333.3 kB / 0.4963 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.3743, allocations: 51.73 kB / 0.4963 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.3743, allocations: 5.688 kB / 0.4963 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.3744, allocations: 31.84 kB / 0.4964 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.3744, allocations: 23.92 kB / 0.4964 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.3745, allocations: 0 / 0.4964 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.3755, allocations: 0.6354 MB / 0.497 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.3755, allocations: 11.98 kB / 0.497 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.3756, allocations: 23.86 kB / 0.497 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007977/0.3764, allocations: 0.4912 MB / 0.4975 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3764, allocations: 4 kB / 0.4975 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3764, allocations: 0 / 0.4975 GB, free: 3.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.3764, allocations: 0 / 0.4975 GB, free: 3.133 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.0005165/0.3769, allocations: 434.1 kB / 0.4979 GB, free: 2.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.377, allocations: 12.03 kB / 0.4979 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.377, allocations: 38.75 kB / 0.498 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.3783, allocations: 100.8 kB / 0.4981 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.3786, allocations: 227.8 kB / 0.4983 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3786, allocations: 0 / 0.4983 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.3786, allocations: 7.938 kB / 0.4983 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3788, allocations: 91.33 kB / 0.4984 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.3788, allocations: 0 / 0.4984 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3789, allocations: 1.688 kB / 0.4984 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3789, allocations: 4 kB / 0.4984 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.379, allocations: 43.95 kB / 0.4984 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.3793, allocations: 218.6 kB / 0.4986 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.3798, allocations: 121.2 kB / 0.4988 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3799, allocations: 41.7 kB / 0.4988 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007236/0.3806, allocations: 0.9823 MB / 0.4998 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3807, allocations: 42.5 kB / 0.4998 GB, free: 396 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3807, allocations: 4 kB / 0.4998 GB, free: 392 kB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004615/0.3811, allocations: 129.4 kB / 0.4999 GB, free: 256 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3812, allocations: 77.11 kB / 0.5 GB, free: 160 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3814, allocations: 161.8 kB / 0.5002 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3814, allocations: 25.7 kB / 0.5002 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.3815, allocations: 88.14 kB / 0.5003 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.3815, allocations: 27.58 kB / 0.5003 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.3816, allocations: 29.7 kB / 0.5003 GB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.3817, allocations: 326.8 kB / 0.5006 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3818, allocations: 23.48 kB / 0.5007 GB, free: 15.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3819, allocations: 55.72 kB / 0.5007 GB, free: 15.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.3821, allocations: 91.31 kB / 0.5008 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3821, allocations: 0 / 0.5008 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003147/0.3825, allocations: 113.6 kB / 0.5009 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3825, allocations: 11.98 kB / 0.5009 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3825, allocations: 9.016 kB / 0.5009 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.3825, allocations: 0 / 0.5009 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3826, allocations: 27.97 kB / 0.5009 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.3827, allocations: 4 kB / 0.501 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.3828, allocations: 7.906 kB / 0.501 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3829, allocations: 7.984 kB / 0.501 GB, free: 15.11 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.425e-05/0.3829, allocations: 117.7 kB / 0.5011 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.383, allocations: 4 kB / 0.5011 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.3835, allocations: 248.4 kB / 0.5013 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3835, allocations: 0 / 0.5013 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3836, allocations: 4 kB / 0.5013 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3836, allocations: 0 / 0.5013 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3837, allocations: 215 kB / 0.5015 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3838, allocations: 4 kB / 0.5015 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3839, allocations: 19.97 kB / 0.5016 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3839, allocations: 0 / 0.5016 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.384, allocations: 4 kB / 0.5016 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.384, allocations: 0 / 0.5016 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.384, allocations: 0 / 0.5016 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.3844, allocations: 185.7 kB / 0.5017 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.3844, allocations: 92.97 kB / 0.5018 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.3845, allocations: 4 kB / 0.5018 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3846, allocations: 11.92 kB / 0.5018 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3847, allocations: 7.984 kB / 0.5018 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3847, allocations: 4 kB / 0.5018 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.3849, allocations: 132.8 kB / 0.502 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3849, allocations: 0 / 0.502 GB, free: 13.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.3853, allocations: 136 kB / 0.5021 GB, free: 13.85 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.001159/0.3865, allocations: 0.926 MB / 0.503 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3867, allocations: 75.92 kB / 0.5031 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3867, allocations: 0 / 0.5031 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3868, allocations: 39.91 kB / 0.5031 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.3871, allocations: 12 kB / 0.5031 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.3893, allocations: 1.808 MB / 0.5049 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3895, allocations: 0.6887 MB / 0.5056 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005049/0.3901, allocations: 433.3 kB / 0.506 GB, free: 9.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3902, allocations: 47.38 kB / 0.506 GB, free: 9.676 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3902, allocations: 4 kB / 0.506 GB, free: 9.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.369/1.76, allocations: 6.359 MB / 0.5122 GB, free: 3.445 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/1.76, allocations: 260.7 kB / 0.5125 GB, free: 3.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/3.569, allocations: 0 / 0.5125 GB, free: 3.18 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