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.001269/0.001269, allocations: 108.6 kB / 17.93 MB, free: 5.656 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.001014/0.001014, allocations: 193.8 kB / 18.86 MB, free: 4.738 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.328/1.328, allocations: 205.1 MB / 224.7 MB, free: 12.36 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.001158/0.001159, allocations: 47.94 kB / 280.8 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.0908, allocations: 46.62 MB / 327.4 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002445/0.09329, allocations: 1.413 MB / 328.8 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007691/0.101, allocations: 7.124 MB / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.1011, allocations: 0 / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.1012, allocations: 3.984 kB / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009615/0.1021, allocations: 255.2 kB / 336.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.1036, allocations: 0.6392 MB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.1037, allocations: 47.73 kB / 336.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.1038, allocations: 4 kB / 336.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1039, allocations: 39.84 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.1046, allocations: 415.1 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1046, allocations: 4 kB / 337.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.1057, allocations: 0.7329 MB / 338.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.1058, allocations: 11.94 kB / 338.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.1058, allocations: 19.86 kB / 338.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.1064, allocations: 395.3 kB / 338.5 MB, free: 9.645 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1064, allocations: 0 / 338.5 MB, free: 9.645 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1064, allocations: 0 / 338.5 MB, free: 9.645 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1064, allocations: 4 kB / 338.5 MB, free: 9.641 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.0005541/0.107, allocations: 471 kB / 339 MB, free: 9.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.107, allocations: 8.031 kB / 339 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.1071, allocations: 4.938 kB / 339 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1073, allocations: 192.2 kB / 339.2 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1073, allocations: 4.375 kB / 339.2 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1073, allocations: 4.375 kB / 339.2 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1075, allocations: 67.52 kB / 339.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1075, allocations: 0 / 339.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1075, allocations: 0 / 339.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1075, allocations: 0 / 339.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.1076, allocations: 23.92 kB / 339.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1078, allocations: 170.6 kB / 339.4 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.1081, allocations: 85.19 kB / 339.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.1082, allocations: 21.7 kB / 339.5 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009859/0.1092, allocations: 1.54 MB / 341.1 MB, free: 6.547 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1092, allocations: 42.44 kB / 341.1 MB, free: 6.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1092, allocations: 4 kB / 341.1 MB, free: 6.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002991/0.1095, allocations: 81.83 kB / 341.2 MB, free: 6.406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1096, allocations: 85.09 kB / 341.3 MB, free: 6.305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.1097, allocations: 109.8 kB / 341.4 MB, free: 6.188 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1097, allocations: 25.7 kB / 341.4 MB, free: 6.156 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.1097, allocations: 84.14 kB / 341.5 MB, free: 6.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1098, allocations: 23.66 kB / 341.5 MB, free: 6.047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.1098, allocations: 29.7 kB / 341.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1099, allocations: 310.8 kB / 341.9 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.11, allocations: 15.98 kB / 341.9 MB, free: 5.684 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.1101, allocations: 47.34 kB / 341.9 MB, free: 5.625 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1102, allocations: 63.39 kB / 342 MB, free: 5.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1102, allocations: 0 / 342 MB, free: 5.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001841/0.1104, allocations: 85.53 kB / 342.1 MB, free: 5.461 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1104, allocations: 4 kB / 342.1 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1105, allocations: 0 / 342.1 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1105, allocations: 4 kB / 342.1 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.1105, allocations: 15.98 kB / 342.1 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1106, allocations: 0 / 342.1 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.1106, allocations: 12.06 kB / 342.1 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1106, allocations: 4 kB / 342.1 MB, free: 5.422 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.471e-05/0.1107, allocations: 109.8 kB / 342.2 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.1107, allocations: 15.84 kB / 342.2 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.1111, allocations: 121.4 kB / 342.3 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.1112, allocations: 4 kB / 342.3 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1112, allocations: 3.984 kB / 342.3 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1112, allocations: 0 / 342.3 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1113, allocations: 173.5 kB / 342.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1113, allocations: 3.984 kB / 342.5 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.1114, allocations: 15.94 kB / 342.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1114, allocations: 0 / 342.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1114, allocations: 0 / 342.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1114, allocations: 3.938 kB / 342.5 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1115, allocations: 4 kB / 342.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1117, allocations: 137.9 kB / 342.7 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.1118, allocations: 96.91 kB / 342.8 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1118, allocations: 3.938 kB / 342.8 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.1119, allocations: 8 kB / 342.8 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1119, allocations: 7.984 kB / 342.8 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1119, allocations: 4.062 kB / 342.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.112, allocations: 91.81 kB / 342.9 MB, free: 4.531 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.112, allocations: 0 / 342.9 MB, free: 4.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.1125, allocations: 167.9 kB / 343.1 MB, free: 4.367 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.0007821/0.1133, allocations: 374.4 kB / 343.4 MB, free: 4 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1135, allocations: 56.12 kB / 343.5 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1135, allocations: 0 / 343.5 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.1136, allocations: 27.98 kB / 343.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.1138, allocations: 23.84 kB / 343.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.1144, allocations: 324.5 kB / 343.8 MB, free: 3.543 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1146, allocations: 0.6884 MB / 344.5 MB, free: 2.828 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.1147, allocations: 23.42 kB / 344.6 MB, free: 2.805 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1147, allocations: 0 / 344.6 MB, free: 2.805 MB / 286.1 MB Notification: Performance of Templates: time 0.005476/0.1202, allocations: 3.503 MB / 348.1 MB, free: 15.29 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","../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