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.004404/0.004404, allocations: 114 kB / 21.97 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.00128/0.00128, allocations: 212.3 kB / 25.28 MB, free: 3.25 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.24/1.24, allocations: 207.6 MB / 236.1 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",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="cs",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.001607/0.001607, allocations: 51.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2106, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001928/0.2125, allocations: 1.366 MB / 398.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006128/0.2186, allocations: 7.24 MB / 405.7 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.2186, allocations: 0 / 405.7 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.2187, allocations: 1.5 kB / 405.7 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008161/0.2195, allocations: 302.7 kB / 406 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2207, allocations: 0.7118 MB / 406.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.2207, allocations: 54.56 kB / 406.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.963e-05/0.2208, allocations: 3.797 kB / 406.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.2209, allocations: 37.88 kB / 406.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.2215, allocations: 367.6 kB / 407.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.2215, allocations: 1.719 kB / 407.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.2226, allocations: 0.8495 MB / 408.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.2226, allocations: 14.55 kB / 408.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.2226, allocations: 14.64 kB / 408.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000709/0.2234, allocations: 0.5689 MB / 408.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2234, allocations: 0 / 408.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2234, allocations: 5.312 kB / 408.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2234, allocations: 1.078 kB / 408.7 MB, free: 1.902 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.000402/0.2238, allocations: 400.1 kB / 409 MB, free: 1.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.2238, allocations: 14.28 kB / 409.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.045e-05/0.2238, allocations: 1.562 kB / 409.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.635e-05/0.2238, allocations: 36.73 kB / 409.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.2239, allocations: 11.64 kB / 409.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.224, allocations: 126 kB / 409.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.224, allocations: 2.734 kB / 409.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.224, allocations: 5.5 kB / 409.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2241, allocations: 69.72 kB / 409.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.2241, allocations: 1.375 kB / 409.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.2241, allocations: 0 / 409.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2241, allocations: 1.375 kB / 409.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.2242, allocations: 24.44 kB / 409.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.2243, allocations: 144.5 kB / 409.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2246, allocations: 73.89 kB / 409.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.2246, allocations: 32.86 kB / 409.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.2249, allocations: 119.4 kB / 409.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.2249, allocations: 40.84 kB / 409.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.2249, allocations: 0 / 409.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000238/0.2252, allocations: 85.34 kB / 409.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.2252, allocations: 79.09 kB / 409.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/0.2252, allocations: 112.8 kB / 410 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.2252, allocations: 29.7 kB / 410 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.49e-05/0.2253, allocations: 82.78 kB / 410.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.2253, allocations: 28.03 kB / 410.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.2253, allocations: 23.03 kB / 410.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.344e-05/0.2253, allocations: 318.2 kB / 410.5 MB, free: 244 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.2254, allocations: 9.172 kB / 410.5 MB, free: 244 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.2254, allocations: 42.42 kB / 410.5 MB, free: 204 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.2255, allocations: 56.92 kB / 410.6 MB, free: 160 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2256, allocations: 0 / 410.6 MB, free: 160 kB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000161/0.2257, allocations: 94.7 kB / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2257, allocations: 6.344 kB / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2257, allocations: 1.375 kB / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2257, allocations: 1.375 kB / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.2258, allocations: 18.67 kB / 410.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2258, allocations: 3.328 kB / 410.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.2258, allocations: 2.703 kB / 410.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2259, allocations: 3.844 kB / 410.7 MB, free: 96 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 6.679e-05/0.2259, allocations: 113 kB / 410.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.2259, allocations: 18.86 kB / 410.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.2263, allocations: 121 kB / 411 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2263, allocations: 2.938 kB / 411 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2263, allocations: 0 / 411 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2263, allocations: 1.609 kB / 411 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2264, allocations: 147.9 kB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2264, allocations: 5.312 kB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.2265, allocations: 16.16 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2265, allocations: 1.125 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.2265, allocations: 2.281 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2265, allocations: 5.25 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2265, allocations: 1.219 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.2268, allocations: 148.6 kB / 411.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.2268, allocations: 23.92 kB / 411.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2268, allocations: 1.906 kB / 411.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.2269, allocations: 1.984 kB / 411.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.2269, allocations: 5.578 kB / 411.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2269, allocations: 7.656 kB / 411.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.351e-05/0.227, allocations: 93.69 kB / 411.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.227, allocations: 0 / 411.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.2274, allocations: 170.7 kB / 411.6 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.001165/0.2286, allocations: 0.9514 MB / 412.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.2287, allocations: 52.28 kB / 412.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2287, allocations: 1.031 kB / 412.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.2288, allocations: 24.31 kB / 412.6 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.0001657/0.229, allocations: 14.56 kB / 412.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2307, allocations: 1.541 MB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.231, allocations: 0.6883 MB / 414.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.231, allocations: 28.66 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.2311, allocations: 30.02 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2311, allocations: 0 / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.2579, allocations: 5.341 MB / 420.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.4, allocations: 3.344 kB / 420.3 MB, free: 9.527 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 12.566160710994154]