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.001264/0.001264, allocations: 112.1 kB / 17.07 MB, free: 5.996 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.001267/0.001267, allocations: 197.3 kB / 18 MB, free: 5.074 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 51.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2363, allocations: 49.45 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.002297/0.2387, allocations: 1.35 MB / 401.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1664/0.4051, allocations: 148.7 MB / 0.5374 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.4051, allocations: 0 / 0.5374 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.4052, allocations: 0 / 0.5374 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008118/0.406, allocations: 238.8 kB / 0.5377 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.407, allocations: 392.6 kB / 0.538 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.724e-05/0.4071, allocations: 63.61 kB / 0.5381 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.4071, allocations: 11.36 kB / 0.5381 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.4072, allocations: 23.92 kB / 0.5381 GB, free: 1.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/0.4073, allocations: 27.91 kB / 0.5382 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.4073, allocations: 0 / 0.5382 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.4085, allocations: 0.6706 MB / 0.5388 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.4085, allocations: 7.984 kB / 0.5388 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.4085, allocations: 23.86 kB / 0.5388 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007658/0.4093, allocations: 493.8 kB / 0.5393 GB, free: 144 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4093, allocations: 0 / 0.5393 GB, free: 144 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4093, allocations: 4 kB / 0.5393 GB, free: 140 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.4093, allocations: 3.938 kB / 0.5393 GB, free: 136 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.1658/0.5752, allocations: 427.9 kB / 0.5397 GB, free: 151.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5752, allocations: 9.406 kB / 0.5397 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.5753, allocations: 33.66 kB / 0.5398 GB, free: 151 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5764, allocations: 94.17 kB / 0.5399 GB, free: 151 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.5766, allocations: 218.8 kB / 0.5401 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5766, allocations: 2.094 kB / 0.5401 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.5767, allocations: 2.688 kB / 0.5401 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.5769, allocations: 90.2 kB / 0.5402 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.5769, allocations: 4.438 kB / 0.5402 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.577, allocations: 3.688 kB / 0.5402 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.577, allocations: 3.094 kB / 0.5402 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.5772, allocations: 44.97 kB / 0.5402 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.5774, allocations: 214.7 kB / 0.5404 GB, free: 150.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.5779, allocations: 121.1 kB / 0.5405 GB, free: 150.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.5781, allocations: 46.22 kB / 0.5406 GB, free: 150.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.5785, allocations: 0.9858 MB / 0.5415 GB, free: 149.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.5785, allocations: 31.78 kB / 0.5416 GB, free: 149.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.5785, allocations: 3.391 kB / 0.5416 GB, free: 149.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004953/0.579, allocations: 135 kB / 0.5417 GB, free: 149.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.5791, allocations: 81.88 kB / 0.5418 GB, free: 149.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.5793, allocations: 157 kB / 0.5419 GB, free: 149 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.5793, allocations: 26.2 kB / 0.542 GB, free: 149 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/0.5793, allocations: 82.08 kB / 0.542 GB, free: 148.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.5794, allocations: 29.97 kB / 0.5421 GB, free: 148.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.5794, allocations: 31.62 kB / 0.5421 GB, free: 148.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.5795, allocations: 314.5 kB / 0.5424 GB, free: 148.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.5796, allocations: 31.14 kB / 0.5424 GB, free: 148.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.5797, allocations: 52.53 kB / 0.5425 GB, free: 148.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.58, allocations: 84.38 kB / 0.5426 GB, free: 148.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.58, allocations: 7.688 kB / 0.5426 GB, free: 148.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003502/0.5803, allocations: 119.9 kB / 0.5427 GB, free: 148.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5804, allocations: 12.44 kB / 0.5427 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.5804, allocations: 0.5625 kB / 0.5427 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5804, allocations: 2.891 kB / 0.5427 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.5805, allocations: 26.45 kB / 0.5427 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5806, allocations: 2.641 kB / 0.5427 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5807, allocations: 10.08 kB / 0.5427 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.5808, allocations: 7.141 kB / 0.5427 GB, free: 148.4 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.669e-05/0.5808, allocations: 119.5 kB / 0.5428 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.5809, allocations: 8.062 kB / 0.5429 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/0.5815, allocations: 244.7 kB / 0.5431 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.5815, allocations: 1.281 kB / 0.5431 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5815, allocations: 0.9062 kB / 0.5431 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5816, allocations: 5.547 kB / 0.5431 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.5817, allocations: 213.2 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5817, allocations: 0.75 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.5819, allocations: 21.47 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5819, allocations: 5.188 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5819, allocations: 4.25 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5819, allocations: 1.156 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5819, allocations: 6.156 kB / 0.5433 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.5824, allocations: 178.5 kB / 0.5435 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.5824, allocations: 96 kB / 0.5436 GB, free: 147.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.5825, allocations: 6.688 kB / 0.5436 GB, free: 147.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.5826, allocations: 4.812 kB / 0.5436 GB, free: 147.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.5827, allocations: 10.48 kB / 0.5436 GB, free: 147.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.5827, allocations: 11.73 kB / 0.5436 GB, free: 147.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.5829, allocations: 133.8 kB / 0.5438 GB, free: 147.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5829, allocations: 0.5312 kB / 0.5438 GB, free: 147.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.5834, allocations: 134.2 kB / 0.5439 GB, free: 147.6 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.001178/0.5846, allocations: 0.9283 MB / 0.5448 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.5849, allocations: 78.3 kB / 0.5449 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5849, allocations: 0 / 0.5449 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.585, allocations: 38.09 kB / 0.5449 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.5852, allocations: 19.62 kB / 0.5449 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.5873, allocations: 1.789 MB / 0.5467 GB, free: 145.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.407e-05/0.5874, allocations: 0.6923 MB / 0.5473 GB, free: 144.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003885/0.5878, allocations: 423.9 kB / 0.5478 GB, free: 144.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.5879, allocations: 47.19 kB / 0.5478 GB, free: 144.4 MB / 462.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5879, allocations: 4 kB / 0.5478 GB, free: 144.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.6157, allocations: 6.608 MB / 0.5543 GB, free: 138 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.831, 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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