Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.00177/0.00177, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002137/0.002137, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2972, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002425/0.2996, allocations: 1.362 MB / 397.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008351/0.308, allocations: 7.239 MB / 404.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.308, allocations: 0 / 404.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.3081, allocations: 6.719 kB / 404.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.3093, allocations: 298 kB / 405.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.3114, allocations: 0.7155 MB / 406 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3115, allocations: 55.27 kB / 406 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.3116, allocations: 6.906 kB / 406 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3117, allocations: 39.55 kB / 406.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007829/0.3125, allocations: 370 kB / 406.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3125, allocations: 2.469 kB / 406.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.314, allocations: 0.8532 MB / 407.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.314, allocations: 14.53 kB / 407.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.3141, allocations: 22.86 kB / 407.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.3151, allocations: 0.5579 MB / 407.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3151, allocations: 1.375 kB / 407.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3151, allocations: 0 / 407.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3151, allocations: 0 / 407.9 MB, free: 1.91 MB / 318.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.0005525/0.3157, allocations: 397.4 kB / 408.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3157, allocations: 17.58 kB / 408.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.3158, allocations: 36.92 kB / 408.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3158, allocations: 8.625 kB / 408.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.316, allocations: 129.4 kB / 408.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.316, allocations: 1.75 kB / 408.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.316, allocations: 7.125 kB / 408.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3162, allocations: 66.19 kB / 408.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3162, allocations: 0 / 408.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3162, allocations: 6.219 kB / 408.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3162, allocations: 0 / 408.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.3163, allocations: 23.39 kB / 408.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.3164, allocations: 145.8 kB / 408.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.3167, allocations: 78.92 kB / 408.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.3168, allocations: 22.89 kB / 408.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.3172, allocations: 127.3 kB / 408.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.3172, allocations: 32.69 kB / 408.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3172, allocations: 1.375 kB / 408.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003071/0.3175, allocations: 88.34 kB / 409 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.3175, allocations: 79.09 kB / 409.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.3176, allocations: 108.6 kB / 409.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.3176, allocations: 31.78 kB / 409.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.3176, allocations: 82.22 kB / 409.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.3177, allocations: 24.56 kB / 409.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3177, allocations: 21.28 kB / 409.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.3178, allocations: 318 kB / 409.7 MB, free: 260 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.3178, allocations: 14.92 kB / 409.7 MB, free: 256 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.3179, allocations: 38.47 kB / 409.7 MB, free: 220 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.318, allocations: 63.58 kB / 409.8 MB, free: 168 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.318, allocations: 5.375 kB / 409.8 MB, free: 164 kB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001762/0.3182, allocations: 90.47 kB / 409.9 MB, free: 108 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3182, allocations: 5.5 kB / 409.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3182, allocations: 0.75 kB / 409.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3182, allocations: 2.75 kB / 409.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.3183, allocations: 15.09 kB / 409.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3183, allocations: 1.984 kB / 409.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.3183, allocations: 5.969 kB / 409.9 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3184, allocations: 5.062 kB / 409.9 MB, free: 104 kB / 318.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.339e-05/0.3185, allocations: 120.6 kB / 410 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3185, allocations: 11.34 kB / 410.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.3189, allocations: 117.8 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3189, allocations: 1.219 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3189, allocations: 0 / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3189, allocations: 5.891 kB / 410.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.3191, allocations: 152.4 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3191, allocations: 5.156 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.3191, allocations: 12.28 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3192, allocations: 1.125 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3192, allocations: 1.844 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3192, allocations: 1.578 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3192, allocations: 0 / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.3195, allocations: 145.8 kB / 410.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.3196, allocations: 22.62 kB / 410.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.3196, allocations: 1.891 kB / 410.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.3196, allocations: 8.062 kB / 410.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.3197, allocations: 9.359 kB / 410.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3197, allocations: 3.469 kB / 410.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.615e-05/0.3197, allocations: 93.66 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3197, allocations: 4.062 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007082/0.3205, allocations: 170.9 kB / 410.8 MB, free: 15.47 MB / 334.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 (7): * Single equations (assignments): 6 * 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.00175/0.3222, allocations: 0.9486 MB / 411.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.3224, allocations: 53.02 kB / 411.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3224, allocations: 3.938 kB / 411.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.3225, allocations: 28.08 kB / 411.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.3228, allocations: 11.11 kB / 411.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3247, allocations: 1.531 MB / 413.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3251, allocations: 0.6872 MB / 414.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.465e-05/0.3252, allocations: 29.53 kB / 414.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.3253, allocations: 26.14 kB / 414.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3253, allocations: 0 / 414.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.3623, allocations: 5.32 MB / 419.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.43, allocations: 5.125 kB / 419.4 MB, free: 9.559 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.076217686000746]