Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 102.1 kB / 15.98 MB, free: 6.352 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.001141/0.001141, allocations: 193.6 kB / 16.91 MB, free: 6.191 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.637/1.637, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3386/0.3386, allocations: 43.49 MB / 313.6 MB, free: 8.547 MB / 254.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.001304/0.001304, allocations: 63.91 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003285/0.1141, allocations: 2.346 MB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.115, allocations: 0.6515 MB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.1151, allocations: 4 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.341e-05/0.1152, allocations: 27.77 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1154, allocations: 63.52 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1156, allocations: 75.94 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1159, allocations: 347.2 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.1162, allocations: 151.5 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1163, allocations: 139.6 kB / 443.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1165, allocations: 159.4 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.1166, allocations: 35.98 kB / 444 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.983e-05/0.1166, allocations: 39.94 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.1167, allocations: 63.83 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1168, allocations: 159.2 kB / 444.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1171, allocations: 374.9 kB / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1171, allocations: 0 / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1171, allocations: 0 / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1171, allocations: 0 / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008282/0.118, allocations: 0.5729 MB / 445.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.118, allocations: 15.83 kB / 445.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.1181, allocations: 32.56 kB / 445.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.1183, allocations: 207.9 kB / 445.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.1183, allocations: 25.22 kB / 445.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.1184, allocations: 32.38 kB / 445.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.1189, allocations: 278.2 kB / 445.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1189, allocations: 0 / 445.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.1189, allocations: 16 kB / 445.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.1189, allocations: 8 kB / 445.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.1193, allocations: 218.5 kB / 446 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.1208, allocations: 1.028 MB / 447 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.1209, allocations: 30.58 kB / 447.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.121, allocations: 32.91 kB / 447.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.121, allocations: 4 kB / 447.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.121, allocations: 34.5 kB / 447.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.121, allocations: 0 / 447.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.1212, allocations: 73.45 kB / 447.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1213, allocations: 51.41 kB / 447.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.1216, allocations: 326.8 kB / 447.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1216, allocations: 25.7 kB / 447.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1218, allocations: 238.9 kB / 447.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.1218, allocations: 11.98 kB / 447.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.1219, allocations: 57.52 kB / 447.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.122, allocations: 330.8 kB / 448.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1221, allocations: 63.97 kB / 448.3 MB, free: 6.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1223, allocations: 94.38 kB / 448.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1225, allocations: 125.7 kB / 448.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1225, allocations: 3.984 kB / 448.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003498/0.1228, allocations: 229.9 kB / 448.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1228, allocations: 11.94 kB / 448.7 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1229, allocations: 0 / 448.7 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1229, allocations: 0 / 448.7 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.1231, allocations: 59.89 kB / 448.8 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1232, allocations: 0 / 448.8 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.1234, allocations: 39.53 kB / 448.8 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1234, allocations: 12.02 kB / 448.8 MB, free: 5.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 0.0001077/0.1235, allocations: 133.8 kB / 449 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1236, allocations: 23.66 kB / 449 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.1236, allocations: 32.81 kB / 449 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1236, allocations: 3.938 kB / 449 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1236, allocations: 0 / 449 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1236, allocations: 0 / 449 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.1242, allocations: 0.5072 MB / 449.5 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1242, allocations: 0 / 449.5 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.1242, allocations: 7.938 kB / 449.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1242, allocations: 0 / 449.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1242, allocations: 0 / 449.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1242, allocations: 0 / 449.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1243, allocations: 0 / 449.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1244, allocations: 109.7 kB / 449.7 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.1244, allocations: 96.91 kB / 449.7 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1245, allocations: 4 kB / 449.8 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1246, allocations: 3.984 kB / 449.8 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.1246, allocations: 0 / 449.8 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1246, allocations: 4 kB / 449.8 MB, free: 4.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.1248, allocations: 225.9 kB / 450 MB, free: 4.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1249, allocations: 0 / 450 MB, free: 4.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1251, allocations: 71.78 kB / 450 MB, free: 4.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 8.718e-05/0.1252, allocations: 103.2 kB / 450.1 MB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1254, allocations: 116.2 kB / 450.3 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1254, allocations: 0 / 450.3 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.1255, allocations: 8 kB / 450.3 MB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1258, allocations: 32.81 kB / 450.3 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.1264, allocations: 475.6 kB / 450.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1267, allocations: 0.7401 MB / 451.5 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1268, allocations: 25.92 kB / 451.5 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.1269, allocations: 15.44 kB / 451.5 MB, free: 2.723 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1269, allocations: 4 kB / 451.6 MB, free: 2.719 MB / 382.1 MB Notification: Performance of Templates: time 0.004045/0.1309, allocations: 1.754 MB / 453.3 MB, free: 0.9688 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches