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.001678/0.001678, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002093/0.002093, allocations: 212 kB / 24.47 MB, free: 3.547 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.489/1.489, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.002131/0.002131, allocations: 59.86 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2727, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002227/0.275, allocations: 1.334 MB / 397.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.2822, allocations: 6.52 MB / 404.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.2823, allocations: 1.375 kB / 404.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.2823, allocations: 7.031 kB / 404.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2834, allocations: 293.3 kB / 404.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.2849, allocations: 0.7149 MB / 405.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2851, allocations: 59.78 kB / 405.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.2851, allocations: 2.047 kB / 405.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2852, allocations: 39.06 kB / 405.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007876/0.286, allocations: 367.7 kB / 405.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.286, allocations: 2.125 kB / 405.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.2874, allocations: 0.7189 MB / 406.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.2874, allocations: 11.97 kB / 406.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.2875, allocations: 23.39 kB / 406.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009722/0.2884, allocations: 0.5353 MB / 407 MB, free: 2.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2885, allocations: 1.375 kB / 407 MB, free: 2.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2885, allocations: 0 / 407 MB, free: 2.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2885, allocations: 0 / 407 MB, free: 2.691 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.0005142/0.289, allocations: 390.4 kB / 407.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.289, allocations: 17.52 kB / 407.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.289, allocations: 35.39 kB / 407.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.2891, allocations: 8.391 kB / 407.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.2893, allocations: 133.8 kB / 407.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2893, allocations: 9.688 kB / 407.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.2893, allocations: 3.125 kB / 407.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2894, allocations: 67.98 kB / 407.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2895, allocations: 0 / 407.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.2895, allocations: 0 / 407.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2895, allocations: 1.375 kB / 407.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/0.2896, allocations: 20.19 kB / 407.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.2897, allocations: 143.1 kB / 407.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.29, allocations: 79.69 kB / 407.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.29, allocations: 28.3 kB / 407.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/0.2904, allocations: 125.4 kB / 408 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2905, allocations: 34.06 kB / 408 MB, free: 1.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2905, allocations: 0 / 408 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002732/0.2907, allocations: 81.5 kB / 408.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.2908, allocations: 79.56 kB / 408.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.2908, allocations: 108.9 kB / 408.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2908, allocations: 25.7 kB / 408.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.2909, allocations: 89.52 kB / 408.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.2909, allocations: 24.52 kB / 408.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.2909, allocations: 22.8 kB / 408.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.291, allocations: 318.8 kB / 408.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.517e-05/0.291, allocations: 18.58 kB / 408.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.2911, allocations: 42.59 kB / 408.8 MB, free: 1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.2912, allocations: 57.97 kB / 408.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2912, allocations: 0 / 408.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001708/0.2914, allocations: 98.61 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2914, allocations: 6.281 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2914, allocations: 2.094 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2914, allocations: 1.469 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.2915, allocations: 14.64 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2915, allocations: 1.656 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.2915, allocations: 3.594 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.2916, allocations: 3.672 kB / 409 MB, free: 0.8945 MB / 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 4.973e-05/0.2916, allocations: 121.6 kB / 409.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.2916, allocations: 10.44 kB / 409.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.292, allocations: 113.6 kB / 409.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.292, allocations: 7.141 kB / 409.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.292, allocations: 0 / 409.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.292, allocations: 5.219 kB / 409.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.127e-05/0.2921, allocations: 141.5 kB / 409.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2921, allocations: 9.312 kB / 409.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.2922, allocations: 11.61 kB / 409.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2922, allocations: 1.25 kB / 409.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2922, allocations: 10.05 kB / 409.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2922, allocations: 1.469 kB / 409.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2922, allocations: 1.906 kB / 409.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.2924, allocations: 133.4 kB / 409.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.2925, allocations: 23.58 kB / 409.6 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2925, allocations: 1.922 kB / 409.6 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.021e-05/0.2925, allocations: 6.406 kB / 409.6 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.2926, allocations: 6.234 kB / 409.6 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.2926, allocations: 8.094 kB / 409.6 MB, free: 416 kB / 318.1 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.2926, allocations: 92.36 kB / 409.7 MB, free: 332 kB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2926, allocations: 1.344 kB / 409.7 MB, free: 332 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.2931, allocations: 178 kB / 409.9 MB, free: 280 kB / 318.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.001364/0.2945, allocations: 0.9544 MB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.2947, allocations: 43.86 kB / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2947, allocations: 0 / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.2948, allocations: 34.81 kB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.295, allocations: 5.203 kB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.2972, allocations: 1.543 MB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2973, allocations: 73.16 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.742e-05/0.2974, allocations: 33.16 kB / 412.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.2974, allocations: 28.11 kB / 412.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2974, allocations: 0 / 412.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.3351, allocations: 5.729 MB / 418.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.5, allocations: 10.25 kB / 418.3 MB, free: 10.57 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.163306490052491]