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.001343/0.001343, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001445/0.001445, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.513/1.513, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001626/0.001626, allocations: 47.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1018, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002646/0.1045, allocations: 1.374 MB / 427.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3688/0.4733, allocations: 152 MB / 0.5661 GB, free: 7.004 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.4733, allocations: 4 kB / 0.5661 GB, free: 7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.4733, allocations: 0 / 0.5661 GB, free: 7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.4744, allocations: 244.3 kB / 0.5664 GB, free: 6.766 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.4757, allocations: 396.5 kB / 0.5667 GB, free: 6.383 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.4759, allocations: 51.73 kB / 0.5668 GB, free: 6.332 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.4759, allocations: 11.97 kB / 0.5668 GB, free: 6.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.476, allocations: 15.94 kB / 0.5668 GB, free: 6.305 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.4761, allocations: 31.89 kB / 0.5669 GB, free: 6.273 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.4761, allocations: 4 kB / 0.5669 GB, free: 6.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.4777, allocations: 0.7046 MB / 0.5675 GB, free: 5.566 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.4777, allocations: 7.938 kB / 0.5676 GB, free: 5.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.4777, allocations: 27.84 kB / 0.5676 GB, free: 5.531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.4788, allocations: 487.5 kB / 0.568 GB, free: 5.059 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4788, allocations: 0 / 0.568 GB, free: 5.059 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4788, allocations: 0 / 0.568 GB, free: 5.059 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4788, allocations: 4 kB / 0.568 GB, free: 5.055 MB / 478.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.0006983/0.4795, allocations: 439.5 kB / 0.5685 GB, free: 4.578 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4796, allocations: 12.03 kB / 0.5685 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.4796, allocations: 34.75 kB / 0.5685 GB, free: 4.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.481, allocations: 104.8 kB / 0.5686 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.4813, allocations: 227.7 kB / 0.5688 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4813, allocations: 4 kB / 0.5688 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.4814, allocations: 0 / 0.5688 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.4816, allocations: 95.33 kB / 0.5689 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4816, allocations: 0 / 0.5689 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4816, allocations: 0 / 0.5689 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.4816, allocations: 4.609 kB / 0.5689 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.4818, allocations: 56.62 kB / 0.569 GB, free: 3.992 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.4821, allocations: 210.9 kB / 0.5692 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.4827, allocations: 129.1 kB / 0.5693 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4828, allocations: 33.75 kB / 0.5693 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/0.4836, allocations: 0.9862 MB / 0.5703 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4837, allocations: 38.56 kB / 0.5703 GB, free: 2.297 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.4837, allocations: 0 / 0.5703 GB, free: 2.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005566/0.4842, allocations: 133.5 kB / 0.5705 GB, free: 2.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.4843, allocations: 81.67 kB / 0.5705 GB, free: 2.062 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.4845, allocations: 154.4 kB / 0.5707 GB, free: 1.902 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4846, allocations: 29.7 kB / 0.5707 GB, free: 1.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.4846, allocations: 84.14 kB / 0.5708 GB, free: 1.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.4847, allocations: 27.78 kB / 0.5708 GB, free: 1.754 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.4847, allocations: 33.69 kB / 0.5709 GB, free: 1.715 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4849, allocations: 318.1 kB / 0.5712 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.485, allocations: 32.84 kB / 0.5712 GB, free: 1.367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.4851, allocations: 52.97 kB / 0.5712 GB, free: 1.305 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.4854, allocations: 79.34 kB / 0.5713 GB, free: 1.215 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4854, allocations: 4 kB / 0.5713 GB, free: 1.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003816/0.4857, allocations: 125.4 kB / 0.5714 GB, free: 1.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4858, allocations: 4 kB / 0.5714 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4858, allocations: 64 / 0.5714 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4858, allocations: 8 kB / 0.5715 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.4859, allocations: 29.78 kB / 0.5715 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4859, allocations: 0 / 0.5715 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.4861, allocations: 8.453 kB / 0.5715 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.4862, allocations: 4 kB / 0.5715 GB, free: 1.031 MB / 478.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 0.000109/0.4863, allocations: 121.7 kB / 0.5716 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.4863, allocations: 7.938 kB / 0.5716 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006541/0.487, allocations: 239.4 kB / 0.5718 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.487, allocations: 4 kB / 0.5718 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.487, allocations: 0 / 0.5718 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.487, allocations: 0 / 0.5718 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.4872, allocations: 222.9 kB / 0.5721 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4872, allocations: 0 / 0.5721 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.4874, allocations: 27.97 kB / 0.5721 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.4874, allocations: 4.812 kB / 0.5721 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4875, allocations: 0 / 0.5721 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4875, allocations: 0 / 0.5721 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4875, allocations: 3.938 kB / 0.5721 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.4879, allocations: 177.9 kB / 0.5723 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.488, allocations: 97.06 kB / 0.5724 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.4881, allocations: 0.875 kB / 0.5724 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.4882, allocations: 7.938 kB / 0.5724 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.4883, allocations: 19.86 kB / 0.5724 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.4883, allocations: 4 kB / 0.5724 GB, free: 8 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.4885, allocations: 128.4 kB / 0.5725 GB, free: 15.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4885, allocations: 0 / 0.5725 GB, free: 15.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005439/0.4891, allocations: 135.6 kB / 0.5726 GB, free: 15.75 MB / 494.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.001464/0.4905, allocations: 0.9142 MB / 0.5735 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.4909, allocations: 79.88 kB / 0.5736 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4909, allocations: 0 / 0.5736 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.491, allocations: 31.98 kB / 0.5736 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4912, allocations: 14.67 kB / 0.5737 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.4942, allocations: 1.797 MB / 0.5754 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4946, allocations: 0.6846 MB / 0.5761 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005949/0.4952, allocations: 435 kB / 0.5765 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.4953, allocations: 47.39 kB / 0.5765 GB, free: 11.6 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4953, allocations: 0 / 0.5765 GB, free: 11.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.529, allocations: 6.624 MB / 0.583 GB, free: 5.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.753, allocations: 9.359 kB / 0.583 GB, free: 5.098 MB / 494.1 MB " [Timeout remaining time 651] (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: 11.372636997009977]