Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008423/0.0008423, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008241/0.0008241, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.896/0.896, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/2.003e-05, allocations: 2.281 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001663/0.001683, allocations: 1.347 MB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2998/0.3015, allocations: 130.7 MB / 456.5 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.3015, allocations: 0.7812 kB / 456.5 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3016, allocations: 5.438 kB / 456.5 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009721/0.3026, allocations: 249.2 kB / 456.8 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.3034, allocations: 418.1 kB / 457.2 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3035, allocations: 59.39 kB / 457.2 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.3036, allocations: 2.75 kB / 457.2 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.3036, allocations: 31.81 kB / 457.3 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.3037, allocations: 28.16 kB / 457.3 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.3037, allocations: 1.375 kB / 457.3 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.3047, allocations: 0.5699 MB / 457.9 MB, free: 5.684 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.3047, allocations: 8.797 kB / 457.9 MB, free: 5.684 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.3047, allocations: 19.72 kB / 457.9 MB, free: 5.684 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.3053, allocations: 0.5309 MB / 458.4 MB, free: 5.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3053, allocations: 0 / 458.4 MB, free: 5.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3053, allocations: 0 / 458.4 MB, free: 5.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3053, allocations: 4.312 kB / 458.4 MB, free: 5.656 MB / 410.7 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.0003973/0.3057, allocations: 351.7 kB / 458.8 MB, free: 5.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3057, allocations: 15.64 kB / 458.8 MB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.402e-05/0.3058, allocations: 34.5 kB / 458.8 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006804/0.3065, allocations: 120.1 kB / 458.9 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3066, allocations: 164.5 kB / 459.1 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3066, allocations: 2.625 kB / 459.1 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3067, allocations: 4.844 kB / 459.1 MB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3068, allocations: 90.52 kB / 459.2 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3068, allocations: 7.688 kB / 459.2 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3068, allocations: 0 / 459.2 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3068, allocations: 0.9062 kB / 459.2 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3069, allocations: 48.92 kB / 459.2 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.3071, allocations: 169.5 kB / 459.4 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.3075, allocations: 128.8 kB / 459.5 MB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.3075, allocations: 43.02 kB / 459.6 MB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.3078, allocations: 87.77 kB / 459.7 MB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.3078, allocations: 36.69 kB / 459.7 MB, free: 4.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.3078, allocations: 2.141 kB / 459.7 MB, free: 4.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003642/0.3082, allocations: 137.2 kB / 459.8 MB, free: 4.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.3082, allocations: 79.58 kB / 459.9 MB, free: 4.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3083, allocations: 160.2 kB / 460.1 MB, free: 4.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.3083, allocations: 25.7 kB / 460.1 MB, free: 4.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.3084, allocations: 87.05 kB / 460.2 MB, free: 4.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.3084, allocations: 27.95 kB / 460.2 MB, free: 4.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.3085, allocations: 32.3 kB / 460.2 MB, free: 4.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.3085, allocations: 319.1 kB / 460.6 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.3086, allocations: 25.91 kB / 460.6 MB, free: 4.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.3086, allocations: 55.53 kB / 460.6 MB, free: 4.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3088, allocations: 87.72 kB / 460.7 MB, free: 4.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3088, allocations: 0 / 460.7 MB, free: 4.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001986/0.309, allocations: 124.5 kB / 460.8 MB, free: 4.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.309, allocations: 6.062 kB / 460.8 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.309, allocations: 0 / 460.8 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.309, allocations: 4.25 kB / 460.8 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.3091, allocations: 27.45 kB / 460.9 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3091, allocations: 2.188 kB / 460.9 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.3092, allocations: 6 kB / 460.9 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.3092, allocations: 13.06 kB / 460.9 MB, free: 4.055 MB / 410.7 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.315e-05/0.3092, allocations: 113.2 kB / 461 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.3093, allocations: 11.3 kB / 461 MB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.3097, allocations: 250.1 kB / 461.3 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3097, allocations: 4.125 kB / 461.3 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3098, allocations: 3 kB / 461.3 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3098, allocations: 4.312 kB / 461.3 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.3099, allocations: 182.4 kB / 461.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3099, allocations: 0.875 kB / 461.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.31, allocations: 22.44 kB / 461.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.31, allocations: 1 kB / 461.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.31, allocations: 6 kB / 461.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.31, allocations: 7.625 kB / 461.5 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.31, allocations: 3.906 kB / 461.5 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3103, allocations: 175.1 kB / 461.7 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3103, allocations: 15.89 kB / 461.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3103, allocations: 4.391 kB / 461.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.3104, allocations: 8.125 kB / 461.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3104, allocations: 11.27 kB / 461.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.3105, allocations: 5.312 kB / 461.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.5e-05/0.3105, allocations: 129.4 kB / 461.8 MB, free: 3.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3105, allocations: 2.094 kB / 461.8 MB, free: 3.562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000434/0.311, allocations: 137.5 kB / 462 MB, free: 3.539 MB / 410.7 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.001067/0.312, allocations: 0.9267 MB / 462.9 MB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3123, allocations: 77.78 kB / 463 MB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3123, allocations: 0 / 463 MB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.3124, allocations: 39.48 kB / 463 MB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3126, allocations: 15.39 kB / 463 MB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3141, allocations: 1.742 MB / 464.8 MB, free: 1.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.498e-05/0.3141, allocations: 75.45 kB / 464.8 MB, free: 1.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003276/0.3145, allocations: 429.5 kB / 465.3 MB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3146, allocations: 47.73 kB / 465.3 MB, free: 1.605 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3146, allocations: 1.984 kB / 465.3 MB, free: 1.605 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3367, allocations: 7.586 MB / 472.9 MB, free: 152 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/7.192, allocations: 10.64 kB / 472.9 MB, free: 144 kB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.002804230898619]