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.001446/0.001447, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001661/0.001661, allocations: 192 kB / 19.29 MB, free: 3.715 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.297/1.297, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001916/0.001916, allocations: 47.94 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09766, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002411/0.1001, allocations: 1.357 MB / 330.1 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008304/0.1084, allocations: 7.141 MB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.1085, allocations: 0 / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.1086, allocations: 3.938 kB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009757/0.1096, allocations: 283 kB / 337.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1112, allocations: 0.6852 MB / 338.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.722e-05/0.1113, allocations: 55.67 kB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.1113, allocations: 4 kB / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1114, allocations: 39.84 kB / 338.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/0.1121, allocations: 363.3 kB / 338.6 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1121, allocations: 3.938 kB / 338.6 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.1134, allocations: 0.8032 MB / 339.4 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1135, allocations: 8 kB / 339.5 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.1135, allocations: 23.84 kB / 339.5 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1145, allocations: 0.5536 MB / 340 MB, free: 8.383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1145, allocations: 4 kB / 340 MB, free: 8.379 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1145, allocations: 3.938 kB / 340 MB, free: 8.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1146, allocations: 0 / 340 MB, free: 8.375 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.0005528/0.1151, allocations: 463.1 kB / 340.5 MB, free: 7.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1152, allocations: 12.03 kB / 340.5 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.1152, allocations: 0.9375 kB / 340.5 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1154, allocations: 192.2 kB / 340.7 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1155, allocations: 384 / 340.7 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1155, allocations: 8.375 kB / 340.7 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1156, allocations: 67.5 kB / 340.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1156, allocations: 0 / 340.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1157, allocations: 4 kB / 340.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1157, allocations: 0 / 340.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1158, allocations: 23.91 kB / 340.8 MB, free: 7.523 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1159, allocations: 170.6 kB / 341 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.1162, allocations: 85.19 kB / 341 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.1163, allocations: 25.7 kB / 341.1 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009314/0.1172, allocations: 1.532 MB / 342.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1173, allocations: 46.48 kB / 342.6 MB, free: 5.234 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1173, allocations: 0 / 342.6 MB, free: 5.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002714/0.1175, allocations: 85.5 kB / 342.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1176, allocations: 77.11 kB / 342.8 MB, free: 5.051 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.1177, allocations: 109.8 kB / 342.9 MB, free: 4.934 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1177, allocations: 25.7 kB / 342.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.1177, allocations: 84.14 kB / 343 MB, free: 4.816 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1178, allocations: 31.64 kB / 343.1 MB, free: 4.785 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1178, allocations: 21.72 kB / 343.1 MB, free: 4.758 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.1179, allocations: 314.8 kB / 343.4 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.118, allocations: 15.94 kB / 343.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.1181, allocations: 39.42 kB / 343.4 MB, free: 4.375 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1182, allocations: 59.36 kB / 343.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1182, allocations: 0 / 343.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001939/0.1184, allocations: 85.95 kB / 343.6 MB, free: 4.215 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1184, allocations: 4 kB / 343.6 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1185, allocations: 3.938 kB / 343.6 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1185, allocations: 4 kB / 343.6 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.1186, allocations: 27.98 kB / 343.6 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1186, allocations: 0 / 343.6 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.1186, allocations: 4.047 kB / 343.6 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1186, allocations: 11.92 kB / 343.6 MB, free: 4.16 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.707e-05/0.1187, allocations: 109.8 kB / 343.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.1187, allocations: 11.84 kB / 343.8 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.1191, allocations: 125.5 kB / 343.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.1191, allocations: 4 kB / 343.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1191, allocations: 0 / 343.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1191, allocations: 0 / 343.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1193, allocations: 181.5 kB / 344.1 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1193, allocations: 0 / 344.1 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.1194, allocations: 15.94 kB / 344.1 MB, free: 3.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1194, allocations: 3.938 kB / 344.1 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1194, allocations: 3.984 kB / 344.1 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1194, allocations: 8 kB / 344.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1194, allocations: 0 / 344.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1197, allocations: 130 kB / 344.2 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1197, allocations: 92.97 kB / 344.3 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1198, allocations: 8 kB / 344.3 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.962e-05/0.1198, allocations: 0 / 344.3 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1199, allocations: 12.05 kB / 344.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1199, allocations: 0 / 344.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.1199, allocations: 91.81 kB / 344.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1199, allocations: 3.938 kB / 344.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000444/0.1204, allocations: 171.9 kB / 344.6 MB, free: 3.105 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.0006997/0.1211, allocations: 370.2 kB / 344.9 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1213, allocations: 47.91 kB / 345 MB, free: 2.695 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1213, allocations: 3.938 kB / 345 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.1214, allocations: 24.27 kB / 345 MB, free: 2.668 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.1216, allocations: 23.86 kB / 345 MB, free: 2.645 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.1221, allocations: 294.5 kB / 345.3 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1223, allocations: 0.6807 MB / 346 MB, free: 1.621 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.118e-05/0.1224, allocations: 35.91 kB / 346 MB, free: 1.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.1224, allocations: 15.42 kB / 346.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1224, allocations: 4 kB / 346.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of Templates: time 0.006957/0.1294, allocations: 3.717 MB / 349.8 MB, free: 13.84 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 -s gbode -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