Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 206.1 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_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_1_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.001574/0.001574, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2641, allocations: 53.36 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002484/0.2666, allocations: 1.358 MB / 432.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4338/0.7004, allocations: 130.6 MB / 0.5498 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.7004, allocations: 4.469 kB / 0.5499 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.7004, allocations: 3.156 kB / 0.5499 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009155/0.7014, allocations: 243.1 kB / 0.5501 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009659/0.7023, allocations: 407.3 kB / 0.5505 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.7024, allocations: 52.56 kB / 0.5505 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.7025, allocations: 11.31 kB / 0.5505 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.7025, allocations: 24.34 kB / 0.5506 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.7026, allocations: 29.12 kB / 0.5506 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.7026, allocations: 3.406 kB / 0.5506 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008679/0.7035, allocations: 0.5862 MB / 0.5512 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.7035, allocations: 11.78 kB / 0.5512 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.7035, allocations: 20.61 kB / 0.5512 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.7041, allocations: 476 kB / 0.5516 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7041, allocations: 0 / 0.5516 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.7041, allocations: 0 / 0.5516 GB, free: 1.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.7041, allocations: 3.25 kB / 0.5516 GB, free: 1.223 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.0005828/0.7047, allocations: 358.8 kB / 0.552 GB, free: 16.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7047, allocations: 8.375 kB / 0.552 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.7048, allocations: 38.78 kB / 0.552 GB, free: 16.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.706, allocations: 104.9 kB / 0.5521 GB, free: 16.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.7062, allocations: 173.9 kB / 0.5523 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.7062, allocations: 3.688 kB / 0.5523 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.7063, allocations: 3.625 kB / 0.5523 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.7065, allocations: 91.83 kB / 0.5524 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.7065, allocations: 3.984 kB / 0.5524 GB, free: 16.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.7065, allocations: 1.406 kB / 0.5524 GB, free: 16.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.7065, allocations: 0.6875 kB / 0.5524 GB, free: 16.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.7066, allocations: 51.81 kB / 0.5525 GB, free: 16.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.7068, allocations: 167.4 kB / 0.5526 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.7073, allocations: 127.5 kB / 0.5527 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.7074, allocations: 33.73 kB / 0.5528 GB, free: 16.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.7076, allocations: 96.45 kB / 0.5529 GB, free: 16.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.7076, allocations: 39.42 kB / 0.5529 GB, free: 16.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.7076, allocations: 0 / 0.5529 GB, free: 16.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004516/0.7081, allocations: 136.5 kB / 0.553 GB, free: 16.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.7081, allocations: 77.11 kB / 0.5531 GB, free: 16.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.7083, allocations: 156.5 kB / 0.5532 GB, free: 16.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.7083, allocations: 25.7 kB / 0.5533 GB, free: 16.15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.7084, allocations: 84.23 kB / 0.5534 GB, free: 16.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.7084, allocations: 24.84 kB / 0.5534 GB, free: 16.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.7085, allocations: 34.17 kB / 0.5534 GB, free: 16.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7086, allocations: 325.2 kB / 0.5537 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.7087, allocations: 23.97 kB / 0.5537 GB, free: 15.72 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.7088, allocations: 57.19 kB / 0.5538 GB, free: 15.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.709, allocations: 86.5 kB / 0.5539 GB, free: 15.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.709, allocations: 0.9688 kB / 0.5539 GB, free: 15.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003243/0.7093, allocations: 121.8 kB / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7094, allocations: 2.906 kB / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7094, allocations: 3.281 kB / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.7094, allocations: 0 / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.7095, allocations: 33.38 kB / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7095, allocations: 0 / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.7097, allocations: 7.062 kB / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.7097, allocations: 8.812 kB / 0.554 GB, free: 15.62 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.781e-05/0.7098, allocations: 120.3 kB / 0.5542 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.7098, allocations: 11.59 kB / 0.5542 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.7104, allocations: 245.8 kB / 0.5544 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.7104, allocations: 2.75 kB / 0.5544 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7104, allocations: 0.9062 kB / 0.5544 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.7104, allocations: 2.375 kB / 0.5544 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.7106, allocations: 189 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7106, allocations: 2.688 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.7108, allocations: 27.86 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7108, allocations: 2.875 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.7108, allocations: 4 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7108, allocations: 3.031 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7108, allocations: 0 / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.7112, allocations: 180.4 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.7112, allocations: 16.95 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.7113, allocations: 2.188 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.7114, allocations: 4.312 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.7115, allocations: 11.89 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.7115, allocations: 3.828 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.7116, allocations: 132.8 kB / 0.555 GB, free: 15.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7116, allocations: 0 / 0.555 GB, free: 15.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005235/0.7122, allocations: 132.2 kB / 0.5551 GB, free: 15.11 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.001226/0.7134, allocations: 0.9303 MB / 0.556 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.7136, allocations: 74.98 kB / 0.5561 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7137, allocations: 1 kB / 0.5561 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.7138, allocations: 40.84 kB / 0.5561 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.714, allocations: 13.19 kB / 0.5561 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.7164, allocations: 1.792 MB / 0.5579 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.7165, allocations: 71.45 kB / 0.5579 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004293/0.7169, allocations: 432.2 kB / 0.5584 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.717, allocations: 48.94 kB / 0.5584 GB, free: 13.12 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.717, allocations: 0 / 0.5584 GB, free: 13.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.7533, allocations: 7.439 MB / 0.5657 GB, free: 11.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.92, allocations: 0 / 0.5657 GB, free: 11.66 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.437178846012102]