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.000882/0.000882, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000882/0.000882, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8824/0.8824, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.012e-05, allocations: 2.281 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002081/0.002101, allocations: 1.35 MB / 325.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3077/0.3098, allocations: 130.7 MB / 456.6 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.3098, allocations: 0.9688 kB / 456.6 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.3099, allocations: 8.484 kB / 456.6 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009586/0.3108, allocations: 240.5 kB / 456.8 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009042/0.3117, allocations: 417.9 kB / 457.2 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3119, allocations: 61.67 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.3119, allocations: 4.891 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.312, allocations: 34.22 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.3121, allocations: 25.33 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3121, allocations: 2.156 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008111/0.3129, allocations: 0.5714 MB / 457.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.3129, allocations: 7.094 kB / 457.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.3129, allocations: 18 kB / 457.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.3135, allocations: 0.5393 MB / 458.5 MB, free: 5.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3135, allocations: 0 / 458.5 MB, free: 5.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3135, allocations: 1.094 kB / 458.5 MB, free: 5.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3135, allocations: 0 / 458.5 MB, free: 5.641 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.0003909/0.3139, allocations: 350.8 kB / 458.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3139, allocations: 8.406 kB / 458.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.827e-05/0.3139, allocations: 43.69 kB / 458.9 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000719/0.3147, allocations: 114.6 kB / 459 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3148, allocations: 163.8 kB / 459.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3149, allocations: 6.125 kB / 459.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3149, allocations: 7.5 kB / 459.2 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.315, allocations: 93.06 kB / 459.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.315, allocations: 2.062 kB / 459.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.315, allocations: 0.8438 kB / 459.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3151, allocations: 0 / 459.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3152, allocations: 45.55 kB / 459.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.3153, allocations: 178 kB / 459.5 MB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3157, allocations: 124.6 kB / 459.6 MB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.3157, allocations: 43.41 kB / 459.6 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.3159, allocations: 91.03 kB / 459.7 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.3159, allocations: 32.75 kB / 459.8 MB, free: 4.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3159, allocations: 0 / 459.8 MB, free: 4.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000311/0.3162, allocations: 137.4 kB / 459.9 MB, free: 4.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.3163, allocations: 81.52 kB / 460 MB, free: 4.699 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3164, allocations: 156.5 kB / 460.1 MB, free: 4.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.3164, allocations: 25.7 kB / 460.1 MB, free: 4.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.039e-05/0.3164, allocations: 90.42 kB / 460.2 MB, free: 4.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.3164, allocations: 23.34 kB / 460.3 MB, free: 4.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.3165, allocations: 31.08 kB / 460.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.615e-05/0.3165, allocations: 317.7 kB / 460.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.3166, allocations: 26.34 kB / 460.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.3167, allocations: 55.42 kB / 460.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3168, allocations: 83.52 kB / 460.8 MB, free: 4.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3168, allocations: 3.469 kB / 460.8 MB, free: 4.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001862/0.317, allocations: 123.8 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.317, allocations: 8.5 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.317, allocations: 0 / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.317, allocations: 4.125 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.3171, allocations: 30.16 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3171, allocations: 2.578 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.3172, allocations: 12.73 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3172, allocations: 9.25 kB / 461 MB, free: 4.043 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 4.585e-05/0.3172, allocations: 115.1 kB / 461.1 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3173, allocations: 12.61 kB / 461.1 MB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.3177, allocations: 244.8 kB / 461.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3177, allocations: 7.281 kB / 461.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3177, allocations: 0 / 461.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3177, allocations: 3.453 kB / 461.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.3178, allocations: 183.7 kB / 461.5 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3178, allocations: 5.953 kB / 461.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.782e-05/0.3179, allocations: 26.55 kB / 461.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3179, allocations: 0.875 kB / 461.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3179, allocations: 0 / 461.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3179, allocations: 2.906 kB / 461.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3179, allocations: 0.875 kB / 461.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3181, allocations: 183 kB / 461.7 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.3182, allocations: 19.91 kB / 461.7 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3182, allocations: 1 kB / 461.7 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.3183, allocations: 3.688 kB / 461.7 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3183, allocations: 12.89 kB / 461.8 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3183, allocations: 3.875 kB / 461.8 MB, free: 3.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.954e-05/0.3184, allocations: 135.9 kB / 461.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3184, allocations: 0 / 461.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.3188, allocations: 132.2 kB / 462 MB, free: 3.527 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.000719/0.3195, allocations: 0.9257 MB / 462.9 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.3197, allocations: 72.84 kB / 463 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3197, allocations: 4.125 kB / 463 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.3197, allocations: 39.98 kB / 463.1 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.3199, allocations: 13.88 kB / 463.1 MB, free: 2.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.3214, allocations: 1.744 MB / 464.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.705e-05/0.3214, allocations: 79.73 kB / 464.9 MB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003272/0.3217, allocations: 430.2 kB / 465.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3218, allocations: 48.55 kB / 465.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3218, allocations: 0.9062 kB / 465.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.3483, allocations: 7.59 MB / 473 MB, free: 164 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.355, allocations: 0 / 473 MB, free: 164 kB / 410.7 MB " [Timeout remaining time 653] (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/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_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: 9.125964023172855]