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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 193.3 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 43.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.244, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002423/0.2464, allocations: 1.347 MB / 423.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4544/0.7008, allocations: 127.8 MB / 0.5387 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.7009, allocations: 0.6875 kB / 0.5387 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.7009, allocations: 5.719 kB / 0.5387 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.702, allocations: 240.7 kB / 0.539 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.7032, allocations: 409.5 kB / 0.5394 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.7033, allocations: 59.48 kB / 0.5394 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.7034, allocations: 2.719 kB / 0.5394 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.7035, allocations: 24 kB / 0.5394 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.7036, allocations: 29.2 kB / 0.5395 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.7036, allocations: 2.75 kB / 0.5395 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.7047, allocations: 0.5572 MB / 0.54 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.7047, allocations: 9.922 kB / 0.54 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.7047, allocations: 23.73 kB / 0.54 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007397/0.7055, allocations: 477.3 kB / 0.5405 GB, free: 1.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7055, allocations: 0 / 0.5405 GB, free: 1.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7055, allocations: 0 / 0.5405 GB, free: 1.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.7055, allocations: 2.219 kB / 0.5405 GB, free: 1.395 MB / 446.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.0006462/0.7061, allocations: 357.8 kB / 0.5408 GB, free: 17.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7062, allocations: 9.281 kB / 0.5408 GB, free: 17.09 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.7062, allocations: 33.22 kB / 0.5409 GB, free: 17.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.7072, allocations: 96.88 kB / 0.541 GB, free: 17.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.7075, allocations: 163.5 kB / 0.5411 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.7075, allocations: 2.625 kB / 0.5411 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.7075, allocations: 1.781 kB / 0.5411 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.7077, allocations: 98.44 kB / 0.5412 GB, free: 16.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.7077, allocations: 3.469 kB / 0.5412 GB, free: 16.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7078, allocations: 0 / 0.5412 GB, free: 16.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.7078, allocations: 2.781 kB / 0.5412 GB, free: 16.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.7079, allocations: 45.61 kB / 0.5413 GB, free: 16.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.7081, allocations: 175.6 kB / 0.5414 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.7086, allocations: 121.3 kB / 0.5416 GB, free: 16.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.7087, allocations: 40.8 kB / 0.5416 GB, free: 16.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.7089, allocations: 88.36 kB / 0.5417 GB, free: 16.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.709, allocations: 40.44 kB / 0.5417 GB, free: 16.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.709, allocations: 0.75 kB / 0.5417 GB, free: 16.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004492/0.7094, allocations: 134.9 kB / 0.5418 GB, free: 16.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.7095, allocations: 78.48 kB / 0.5419 GB, free: 16.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.7097, allocations: 155.7 kB / 0.5421 GB, free: 16.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.7097, allocations: 28.92 kB / 0.5421 GB, free: 16.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.7098, allocations: 88.7 kB / 0.5422 GB, free: 16.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.7098, allocations: 23.36 kB / 0.5422 GB, free: 16.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.7098, allocations: 28.77 kB / 0.5422 GB, free: 16.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.71, allocations: 324.3 kB / 0.5425 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.796e-05/0.7101, allocations: 26.45 kB / 0.5426 GB, free: 15.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.7102, allocations: 56.09 kB / 0.5426 GB, free: 15.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.7104, allocations: 83.83 kB / 0.5427 GB, free: 15.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7104, allocations: 0 / 0.5427 GB, free: 15.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002963/0.7107, allocations: 126.7 kB / 0.5428 GB, free: 15.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7107, allocations: 5.062 kB / 0.5428 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7107, allocations: 0 / 0.5428 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7107, allocations: 3.406 kB / 0.5428 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.7109, allocations: 22.66 kB / 0.5429 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7109, allocations: 7.531 kB / 0.5429 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.711, allocations: 14.44 kB / 0.5429 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.711, allocations: 8.688 kB / 0.5429 GB, free: 15.8 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 9.946e-05/0.7111, allocations: 118.1 kB / 0.543 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.7112, allocations: 3.469 kB / 0.543 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/0.7117, allocations: 255.1 kB / 0.5432 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7117, allocations: 0 / 0.5432 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7117, allocations: 3.219 kB / 0.5432 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.7117, allocations: 0 / 0.5432 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.7119, allocations: 189.1 kB / 0.5434 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7119, allocations: 4.906 kB / 0.5434 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.7121, allocations: 27.25 kB / 0.5435 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7121, allocations: 0.7188 kB / 0.5435 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.7121, allocations: 4.719 kB / 0.5435 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7121, allocations: 3.391 kB / 0.5435 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7121, allocations: 0 / 0.5435 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.7125, allocations: 177.9 kB / 0.5436 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.7125, allocations: 28.92 kB / 0.5437 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.7125, allocations: 0 / 0.5437 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.7127, allocations: 9.531 kB / 0.5437 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.7127, allocations: 11.78 kB / 0.5437 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.7128, allocations: 7.797 kB / 0.5437 GB, free: 15.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.7129, allocations: 127 kB / 0.5438 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7129, allocations: 0 / 0.5438 GB, free: 15.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005252/0.7134, allocations: 134 kB / 0.5439 GB, free: 15.27 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.001335/0.7148, allocations: 0.9254 MB / 0.5448 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.7151, allocations: 75.05 kB / 0.5449 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7151, allocations: 0.7812 kB / 0.5449 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.7152, allocations: 48.66 kB / 0.545 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.7154, allocations: 12.31 kB / 0.545 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.718, allocations: 1.795 MB / 0.5467 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.465e-05/0.718, allocations: 68.73 kB / 0.5468 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000437/0.7185, allocations: 435.7 kB / 0.5472 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.7186, allocations: 52.16 kB / 0.5473 GB, free: 13.32 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7186, allocations: 0 / 0.5473 GB, free: 13.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.7543, allocations: 7.415 MB / 0.5545 GB, free: 11.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.12, allocations: 3.938 kB / 0.5545 GB, free: 11.96 MB / 462.1 MB " [Timeout remaining time 648] (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.00019992 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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.626398986205459]