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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 102.9 kB / 17.58 MB, free: 5.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 187.9 kB / 18.51 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB 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.001988/0.001988, allocations: 56.14 kB / 280.6 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08739, allocations: 46.63 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002182/0.08961, allocations: 1.349 MB / 328.6 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007602/0.09723, allocations: 7.149 MB / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.09728, allocations: 0 / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.09734, allocations: 3.938 kB / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008651/0.09821, allocations: 282.9 kB / 336.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.09956, allocations: 0.6816 MB / 336.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.09965, allocations: 59.72 kB / 336.8 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.09969, allocations: 4 kB / 336.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.09979, allocations: 35.86 kB / 336.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.1004, allocations: 363.2 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1004, allocations: 4 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.1015, allocations: 0.7136 MB / 337.9 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.1015, allocations: 11.94 kB / 337.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1016, allocations: 15.92 kB / 337.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.1023, allocations: 0.5614 MB / 338.5 MB, free: 9.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1024, allocations: 0 / 338.5 MB, free: 9.195 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1024, allocations: 0 / 338.5 MB, free: 9.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1024, allocations: 0 / 338.5 MB, free: 9.195 MB / 286.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.0005462/0.1029, allocations: 463.1 kB / 338.9 MB, free: 8.695 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.103, allocations: 12.03 kB / 339 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.103, allocations: 4.938 kB / 339 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1032, allocations: 192.2 kB / 339.2 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1032, allocations: 384 / 339.2 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1033, allocations: 4.375 kB / 339.2 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1034, allocations: 71.45 kB / 339.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.1034, allocations: 0 / 339.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1034, allocations: 0 / 339.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1034, allocations: 7.938 kB / 339.2 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.107e-05/0.1035, allocations: 19.97 kB / 339.3 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.1037, allocations: 166.6 kB / 339.4 MB, free: 8.125 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.104, allocations: 81.23 kB / 339.5 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.1041, allocations: 33.64 kB / 339.5 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009265/0.105, allocations: 1.544 MB / 341.1 MB, free: 6.094 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.105, allocations: 34.5 kB / 341.1 MB, free: 6.051 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.105, allocations: 3.984 kB / 341.1 MB, free: 6.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003267/0.1054, allocations: 85.5 kB / 341.2 MB, free: 5.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1054, allocations: 81.11 kB / 341.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.1055, allocations: 113.8 kB / 341.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1056, allocations: 25.7 kB / 341.4 MB, free: 5.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.1056, allocations: 84.14 kB / 341.5 MB, free: 5.621 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.1056, allocations: 27.64 kB / 341.5 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1057, allocations: 21.72 kB / 341.5 MB, free: 5.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.1058, allocations: 318.8 kB / 341.9 MB, free: 5.246 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.1058, allocations: 8 kB / 341.9 MB, free: 5.238 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.1059, allocations: 43.42 kB / 341.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1061, allocations: 59.34 kB / 342 MB, free: 5.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1061, allocations: 0 / 342 MB, free: 5.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001867/0.1063, allocations: 89.55 kB / 342 MB, free: 5.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1063, allocations: 4 kB / 342.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1063, allocations: 0 / 342.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1063, allocations: 4 kB / 342.1 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.1064, allocations: 19.92 kB / 342.1 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1064, allocations: 0 / 342.1 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.1065, allocations: 4 kB / 342.1 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1065, allocations: 4 kB / 342.1 MB, free: 4.984 MB / 286.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.581e-05/0.1065, allocations: 113.9 kB / 342.2 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.1066, allocations: 15.83 kB / 342.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.1069, allocations: 113.4 kB / 342.3 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.107, allocations: 4 kB / 342.3 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.107, allocations: 4 kB / 342.3 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.107, allocations: 0 / 342.3 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1071, allocations: 185.5 kB / 342.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1071, allocations: 0 / 342.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.1072, allocations: 28.36 kB / 342.5 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1072, allocations: 0 / 342.5 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1072, allocations: 4 kB / 342.5 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1072, allocations: 0 / 342.5 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1072, allocations: 4 kB / 342.5 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1075, allocations: 130 kB / 342.7 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.1076, allocations: 104.9 kB / 342.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1076, allocations: 0 / 342.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.1077, allocations: 11.92 kB / 342.8 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1077, allocations: 4 kB / 342.8 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1077, allocations: 0 / 342.8 MB, free: 4.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.1078, allocations: 91.81 kB / 342.9 MB, free: 4.086 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1078, allocations: 0 / 342.9 MB, free: 4.086 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005003/0.1083, allocations: 167.9 kB / 343 MB, free: 3.922 MB / 286.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.0007204/0.109, allocations: 370.5 kB / 343.4 MB, free: 3.559 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1093, allocations: 55.88 kB / 343.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1093, allocations: 0 / 343.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.1094, allocations: 36.05 kB / 343.5 MB, free: 3.469 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.1096, allocations: 11.94 kB / 343.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.1101, allocations: 290.7 kB / 343.8 MB, free: 3.145 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1103, allocations: 0.6846 MB / 344.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.993e-05/0.1104, allocations: 27.75 kB / 344.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1104, allocations: 27.36 kB / 344.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1105, allocations: 0 / 344.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of Templates: time 0.006851/0.1173, allocations: 3.717 MB / 348.2 MB, free: 14.66 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/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/jenkins/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) Reference file matches