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.001119/0.001119, allocations: 110.6 kB / 17.06 MB, free: 6.004 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.001147/0.001147, allocations: 200 kB / 18 MB, free: 5.082 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.296/1.296, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 51.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2475, allocations: 49.44 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002535/0.2501, allocations: 1.354 MB / 401.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.3955, allocations: 148.7 MB / 0.5374 GB, free: 2.121 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.3956, allocations: 0 / 0.5374 GB, free: 2.121 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.3957, allocations: 3.984 kB / 0.5374 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007739/0.3965, allocations: 246.8 kB / 0.5377 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.3974, allocations: 394.5 kB / 0.538 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.3976, allocations: 59.66 kB / 0.5381 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.3976, allocations: 4 kB / 0.5381 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.3976, allocations: 19.92 kB / 0.5381 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.3977, allocations: 27.91 kB / 0.5381 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3977, allocations: 7.938 kB / 0.5382 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.3989, allocations: 0.6706 MB / 0.5388 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.3989, allocations: 3.984 kB / 0.5388 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.3989, allocations: 27.86 kB / 0.5388 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.3997, allocations: 0.4951 MB / 0.5393 GB, free: 180 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3998, allocations: 0 / 0.5393 GB, free: 180 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3998, allocations: 0 / 0.5393 GB, free: 180 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3998, allocations: 0 / 0.5393 GB, free: 180 kB / 462.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.1839/0.5837, allocations: 416 kB / 0.5397 GB, free: 151.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.5838, allocations: 10.05 kB / 0.5397 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.5838, allocations: 33.83 kB / 0.5398 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5849, allocations: 97.61 kB / 0.5399 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.5852, allocations: 213.9 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.5853, allocations: 2.562 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.5853, allocations: 2.75 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.5855, allocations: 91.14 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5855, allocations: 6.281 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5856, allocations: 1.188 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5856, allocations: 1.344 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.5858, allocations: 50.78 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.586, allocations: 209.4 kB / 0.5404 GB, free: 150.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.5865, allocations: 125.7 kB / 0.5405 GB, free: 150.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.5866, allocations: 39.03 kB / 0.5406 GB, free: 150.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.5871, allocations: 0.989 MB / 0.5415 GB, free: 149.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.5871, allocations: 34.88 kB / 0.5416 GB, free: 149.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.5871, allocations: 0.5625 kB / 0.5416 GB, free: 149.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004839/0.5876, allocations: 133.1 kB / 0.5417 GB, free: 149.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.5876, allocations: 82.36 kB / 0.5418 GB, free: 149.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.5878, allocations: 153.3 kB / 0.5419 GB, free: 149.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5878, allocations: 26.33 kB / 0.5419 GB, free: 149.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.5879, allocations: 86.31 kB / 0.542 GB, free: 149 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.5879, allocations: 27.17 kB / 0.542 GB, free: 149 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.588, allocations: 29.27 kB / 0.5421 GB, free: 149 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.588, allocations: 318.8 kB / 0.5424 GB, free: 148.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.5881, allocations: 26.06 kB / 0.5424 GB, free: 148.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.5883, allocations: 56.06 kB / 0.5425 GB, free: 148.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.5885, allocations: 88.33 kB / 0.5425 GB, free: 148.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5885, allocations: 0.7812 kB / 0.5425 GB, free: 148.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003334/0.5889, allocations: 124.4 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5889, allocations: 9.531 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5889, allocations: 1.25 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5889, allocations: 5.266 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.5891, allocations: 24.64 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5891, allocations: 1.156 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.5893, allocations: 14 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.5893, allocations: 10.97 kB / 0.5427 GB, free: 148.5 MB / 462.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 5.882e-05/0.5894, allocations: 117.6 kB / 0.5428 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.5894, allocations: 10.75 kB / 0.5428 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.59, allocations: 235.9 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.59, allocations: 2.562 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.59, allocations: 2.688 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.59, allocations: 1.312 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.5902, allocations: 211.9 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5902, allocations: 0.6562 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.5904, allocations: 29.7 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5904, allocations: 5.25 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5904, allocations: 2.531 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5904, allocations: 5.125 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5904, allocations: 0 / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.5908, allocations: 174.8 kB / 0.5435 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.5909, allocations: 94.09 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.5909, allocations: 11.14 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.5911, allocations: 5.406 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.5912, allocations: 10.88 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.5912, allocations: 3.469 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.5913, allocations: 133.5 kB / 0.5437 GB, free: 147.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5913, allocations: 0.5312 kB / 0.5437 GB, free: 147.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.5919, allocations: 130 kB / 0.5439 GB, free: 147.7 MB / 462.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.001196/0.5931, allocations: 0.9398 MB / 0.5448 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.5934, allocations: 75.48 kB / 0.5448 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5934, allocations: 4 kB / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.5935, allocations: 41.16 kB / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.5937, allocations: 16.5 kB / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.5959, allocations: 1.789 MB / 0.5467 GB, free: 145.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.889e-05/0.596, allocations: 0.6844 MB / 0.5473 GB, free: 144.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000403/0.5964, allocations: 432 kB / 0.5477 GB, free: 144.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.5965, allocations: 51.27 kB / 0.5478 GB, free: 144.5 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5965, allocations: 0 / 0.5478 GB, free: 144.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.6188, allocations: 6.667 MB / 0.5543 GB, free: 138 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/8.226, allocations: 0.625 kB / 0.5543 GB, free: 138 MB / 462.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