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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 119 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 189.2 kB / 21.39 MB, free: 1.52 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.321/1.321, allocations: 207.6 MB / 231.8 MB, free: 4.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 51.92 kB / 342.2 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08597, allocations: 49.12 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002424/0.0884, allocations: 1.358 MB / 392.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009192/0.09759, allocations: 7.185 MB / 399.9 MB, free: 156 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.09762, allocations: 0 / 399.9 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.09765, allocations: 7.922 kB / 399.9 MB, free: 148 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.09867, allocations: 271 kB / 400.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1001, allocations: 0.6969 MB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.1002, allocations: 63.64 kB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1003, allocations: 7.938 kB / 400.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.1004, allocations: 35.84 kB / 401 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.101, allocations: 363.3 kB / 401.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.101, allocations: 0 / 401.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.1023, allocations: 0.8343 MB / 402.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1023, allocations: 7.922 kB / 402.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.1023, allocations: 15.94 kB / 402.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008558/0.1032, allocations: 0.561 MB / 402.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1032, allocations: 0 / 402.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1032, allocations: 0 / 402.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1032, allocations: 0 / 402.8 MB, free: 13.3 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.0006162/0.1038, allocations: 478.1 kB / 403.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1039, allocations: 12.03 kB / 403.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.1039, allocations: 30.75 kB / 403.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.1039, allocations: 8.891 kB / 403.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1042, allocations: 184.3 kB / 403.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1042, allocations: 4.375 kB / 403.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1042, allocations: 4.375 kB / 403.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1044, allocations: 71.27 kB / 403.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1044, allocations: 7.922 kB / 403.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1044, allocations: 8 kB / 403.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1044, allocations: 0 / 403.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1045, allocations: 15.98 kB / 403.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.1047, allocations: 174.6 kB / 403.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1049, allocations: 81.12 kB / 403.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.105, allocations: 25.77 kB / 403.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.1061, allocations: 1.54 MB / 405.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1062, allocations: 34.56 kB / 405.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1062, allocations: 0 / 405.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002704/0.1064, allocations: 89.53 kB / 405.5 MB, free: 10 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1065, allocations: 81.05 kB / 405.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.1066, allocations: 113.8 kB / 405.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1066, allocations: 25.7 kB / 405.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.1066, allocations: 88.14 kB / 405.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1067, allocations: 19.8 kB / 405.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.1067, allocations: 25.7 kB / 405.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1068, allocations: 314.8 kB / 406.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.1069, allocations: 15.98 kB / 406.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.107, allocations: 43.42 kB / 406.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1071, allocations: 59.36 kB / 406.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1071, allocations: 0 / 406.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001847/0.1073, allocations: 89.91 kB / 406.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1073, allocations: 4 kB / 406.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1073, allocations: 4 kB / 406.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1073, allocations: 0 / 406.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/0.1074, allocations: 15.94 kB / 406.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1074, allocations: 3.984 kB / 406.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.1074, allocations: 8.062 kB / 406.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1074, allocations: 8.047 kB / 406.4 MB, free: 9.02 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.329e-05/0.1075, allocations: 113.8 kB / 406.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.1075, allocations: 15.88 kB / 406.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.1079, allocations: 125.3 kB / 406.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1079, allocations: 0 / 406.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1079, allocations: 4 kB / 406.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1079, allocations: 7.922 kB / 406.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1081, allocations: 169.6 kB / 406.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1081, allocations: 3.938 kB / 406.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.1081, allocations: 15.98 kB / 406.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1081, allocations: 0 / 406.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1081, allocations: 0 / 406.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1081, allocations: 4 kB / 406.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1081, allocations: 3.938 kB / 406.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1084, allocations: 149.9 kB / 407 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.1085, allocations: 88.98 kB / 407.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1085, allocations: 4 kB / 407.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.1086, allocations: 7.938 kB / 407.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1086, allocations: 7.984 kB / 407.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.1086, allocations: 0 / 407.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.1087, allocations: 95.88 kB / 407.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1087, allocations: 0 / 407.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.1091, allocations: 175.4 kB / 407.4 MB, free: 7.938 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.001221/0.1103, allocations: 0.9409 MB / 408.3 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1105, allocations: 47.91 kB / 408.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1105, allocations: 0 / 408.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.1106, allocations: 28.25 kB / 408.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.1108, allocations: 8 kB / 408.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.1124, allocations: 1.541 MB / 409.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1127, allocations: 0.6808 MB / 410.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.473e-05/0.1128, allocations: 39.84 kB / 410.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.1128, allocations: 23.42 kB / 410.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1128, allocations: 0 / 410.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.1437, allocations: 5.174 MB / 415.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.782, allocations: 11.86 kB / 415.9 MB, free: 15.23 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_2/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_2/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: 9.975469082128257]