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.001676/0.001676, allocations: 118.6 kB / 19.16 MB, free: 3.914 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.002012/0.002012, allocations: 211.7 kB / 22.12 MB, free: 0.9648 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.352/1.352, allocations: 207.6 MB / 232.5 MB, free: 3.777 MB / 174.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.001631/0.001631, allocations: 55.91 kB / 343 MB, free: 10.11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0841/0.08573, allocations: 49.13 MB / 392.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002299/0.08803, allocations: 1.365 MB / 393.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00898/0.09701, allocations: 7.179 MB / 400.7 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.09704, allocations: 4 kB / 400.7 MB, free: 240 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.09707, allocations: 7.922 kB / 400.7 MB, free: 232 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.09801, allocations: 279.1 kB / 400.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.09947, allocations: 0.697 MB / 401.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.09957, allocations: 55.72 kB / 401.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.0996, allocations: 3.984 kB / 401.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.09971, allocations: 43.84 kB / 401.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000663/0.1004, allocations: 355.2 kB / 402.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1004, allocations: 4 kB / 402.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.1016, allocations: 0.8343 MB / 402.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.1016, allocations: 15.86 kB / 402.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.1017, allocations: 19.92 kB / 403 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008141/0.1025, allocations: 0.5533 MB / 403.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1025, allocations: 0 / 403.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1025, allocations: 0 / 403.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1025, allocations: 0 / 403.5 MB, free: 13.38 MB / 334.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.0005976/0.1031, allocations: 474.1 kB / 404 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1031, allocations: 8.031 kB / 404 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.1031, allocations: 12.19 kB / 404 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.1032, allocations: 34.73 kB / 404 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1032, allocations: 12.89 kB / 404 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1034, allocations: 184.2 kB / 404.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1034, allocations: 4.375 kB / 404.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1034, allocations: 4.125 kB / 404.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1036, allocations: 63.39 kB / 404.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1036, allocations: 4 kB / 404.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1036, allocations: 0 / 404.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1036, allocations: 4 kB / 404.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.1037, allocations: 15.92 kB / 404.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.1039, allocations: 174.6 kB / 404.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.1042, allocations: 85.12 kB / 404.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.1043, allocations: 29.7 kB / 404.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.1054, allocations: 1.536 MB / 406.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1054, allocations: 34.5 kB / 406.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1054, allocations: 0 / 406.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002974/0.1057, allocations: 85.59 kB / 406.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1058, allocations: 77.11 kB / 406.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1059, allocations: 109.8 kB / 406.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1059, allocations: 25.7 kB / 406.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.1059, allocations: 88.12 kB / 406.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.106, allocations: 27.78 kB / 406.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.106, allocations: 21.7 kB / 406.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1062, allocations: 326.8 kB / 406.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.1062, allocations: 11.98 kB / 406.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.1063, allocations: 39.8 kB / 407 MB, free: 9.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1064, allocations: 63.34 kB / 407 MB, free: 9.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1064, allocations: 4 kB / 407 MB, free: 9.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002074/0.1066, allocations: 93.44 kB / 407.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1066, allocations: 7.984 kB / 407.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1067, allocations: 0 / 407.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1067, allocations: 4 kB / 407.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.1067, allocations: 12 kB / 407.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1067, allocations: 0 / 407.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.1068, allocations: 7.984 kB / 407.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1068, allocations: 8.062 kB / 407.2 MB, free: 9.094 MB / 334.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 7.985e-05/0.1069, allocations: 113.8 kB / 407.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.1069, allocations: 11.89 kB / 407.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.1073, allocations: 113.5 kB / 407.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.1073, allocations: 4 kB / 407.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1073, allocations: 0 / 407.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1073, allocations: 4 kB / 407.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.1074, allocations: 181.5 kB / 407.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1074, allocations: 0 / 407.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.1075, allocations: 15.98 kB / 407.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1075, allocations: 0 / 407.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1075, allocations: 4 kB / 407.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1075, allocations: 0 / 407.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1075, allocations: 4 kB / 407.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.1078, allocations: 145.8 kB / 407.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1079, allocations: 93.02 kB / 407.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1079, allocations: 4 kB / 407.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.108, allocations: 4 kB / 407.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.108, allocations: 7.984 kB / 407.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.108, allocations: 0 / 407.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.096e-05/0.1081, allocations: 87.83 kB / 407.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1081, allocations: 4.062 kB / 407.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.1085, allocations: 175.4 kB / 408.1 MB, free: 8.031 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.001304/0.1098, allocations: 0.9526 MB / 409.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.11, allocations: 47.91 kB / 409.1 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.11, allocations: 0 / 409.1 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.1101, allocations: 27.92 kB / 409.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.1103, allocations: 11.98 kB / 409.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.112, allocations: 1.538 MB / 410.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1123, allocations: 0.6846 MB / 411.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.117e-05/0.1124, allocations: 31.91 kB / 411.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.1124, allocations: 23.42 kB / 411.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1124, allocations: 0 / 411.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.1359, allocations: 5.218 MB / 416.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/7.884, allocations: 11.81 kB / 416.7 MB, free: 15.27 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.228973790013697]