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.00142/0.00142, allocations: 110 kB / 18.25 MB, free: 4.898 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.001593/0.001593, allocations: 195.5 kB / 19.18 MB, free: 3.977 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.331/1.331, allocations: 205.1 MB / 225 MB, free: 12.3 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.00123/0.00123, allocations: 56.12 kB / 281.3 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08747, allocations: 46.63 MB / 327.9 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.003417/0.09094, allocations: 1.353 MB / 329.3 MB, free: 3.098 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009349/0.1003, allocations: 7.146 MB / 336.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.1004, allocations: 0 / 336.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.1006, allocations: 7.922 kB / 336.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.1018, allocations: 275 kB / 336.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.1038, allocations: 0.6894 MB / 337.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1039, allocations: 51.73 kB / 337.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.104, allocations: 7.984 kB / 337.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1041, allocations: 39.84 kB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.1048, allocations: 359.3 kB / 337.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1049, allocations: 4 kB / 337.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.1062, allocations: 0.7136 MB / 338.6 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.1063, allocations: 11.92 kB / 338.6 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.1063, allocations: 15.94 kB / 338.6 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1075, allocations: 0.5575 MB / 339.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1075, allocations: 3.938 kB / 339.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1075, allocations: 0 / 339.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1075, allocations: 0 / 339.2 MB, free: 9.184 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.0007372/0.1083, allocations: 471.1 kB / 339.6 MB, free: 8.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1083, allocations: 12.03 kB / 339.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.1084, allocations: 0.9375 kB / 339.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1086, allocations: 188.2 kB / 339.8 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1086, allocations: 4.375 kB / 339.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1087, allocations: 4.375 kB / 339.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1088, allocations: 67.52 kB / 339.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1089, allocations: 0 / 339.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1089, allocations: 0 / 339.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1089, allocations: 7.875 kB / 339.9 MB, free: 8.348 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.109, allocations: 19.98 kB / 339.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.1092, allocations: 170.6 kB / 340.1 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1095, allocations: 85.12 kB / 340.2 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.1096, allocations: 25.77 kB / 340.2 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.1107, allocations: 1.536 MB / 341.7 MB, free: 6.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1107, allocations: 38.5 kB / 341.8 MB, free: 6.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1107, allocations: 0 / 341.8 MB, free: 6.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003112/0.111, allocations: 97.75 kB / 341.9 MB, free: 5.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1111, allocations: 77.11 kB / 341.9 MB, free: 5.848 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.1112, allocations: 109.8 kB / 342.1 MB, free: 5.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1112, allocations: 25.7 kB / 342.1 MB, free: 5.699 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.1113, allocations: 92.12 kB / 342.2 MB, free: 5.605 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.1113, allocations: 19.66 kB / 342.2 MB, free: 5.586 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.1113, allocations: 25.7 kB / 342.2 MB, free: 5.555 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1115, allocations: 314.8 kB / 342.5 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.1115, allocations: 19.92 kB / 342.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1116, allocations: 43.72 kB / 342.6 MB, free: 5.164 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1117, allocations: 59.36 kB / 342.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1118, allocations: 0 / 342.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002065/0.112, allocations: 81.55 kB / 342.7 MB, free: 5.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.112, allocations: 7.984 kB / 342.7 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.112, allocations: 0 / 342.7 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.112, allocations: 4 kB / 342.7 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.1121, allocations: 12 kB / 342.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1121, allocations: 0 / 342.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.1122, allocations: 15.92 kB / 342.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1122, allocations: 8.062 kB / 342.8 MB, free: 4.961 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 6.972e-05/0.1123, allocations: 109.8 kB / 342.9 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1123, allocations: 15.84 kB / 342.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1126, allocations: 113.4 kB / 343 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1126, allocations: 4 kB / 343 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1127, allocations: 4 kB / 343 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1127, allocations: 0 / 343 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.1128, allocations: 177.5 kB / 343.2 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1128, allocations: 0 / 343.2 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.1129, allocations: 27.8 kB / 343.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1129, allocations: 0 / 343.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.1129, allocations: 0 / 343.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1129, allocations: 4 kB / 343.2 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1129, allocations: 0 / 343.2 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.1133, allocations: 141.9 kB / 343.3 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.1133, allocations: 92.97 kB / 343.4 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1134, allocations: 4 kB / 343.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.1134, allocations: 4 kB / 343.4 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.1135, allocations: 7.984 kB / 343.5 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1135, allocations: 240 / 343.5 MB, free: 4.168 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.834e-05/0.1135, allocations: 99.27 kB / 343.6 MB, free: 4.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1135, allocations: 3.938 kB / 343.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005206/0.1141, allocations: 163.9 kB / 343.7 MB, free: 3.906 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.0007861/0.1149, allocations: 378 kB / 344.1 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.1151, allocations: 47.91 kB / 344.1 MB, free: 3.488 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1151, allocations: 4.125 kB / 344.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.1152, allocations: 31.92 kB / 344.2 MB, free: 3.453 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.1154, allocations: 11.94 kB / 344.2 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.1159, allocations: 320.4 kB / 344.5 MB, free: 3.094 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1162, allocations: 0.6885 MB / 345.2 MB, free: 2.379 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.1162, allocations: 19.42 kB / 345.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1162, allocations: 0 / 345.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of Templates: time 0.005904/0.1221, allocations: 3.496 MB / 348.7 MB, free: 14.86 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/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) Reference file matches