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.001268/0.001268, allocations: 107.6 kB / 17.04 MB, free: 5.809 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.001126/0.001126, allocations: 195 kB / 17.97 MB, free: 5.027 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.68/1.68, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2599/0.2599, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001445/0.001445, allocations: 71.59 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002962/0.1133, allocations: 2.292 MB / 444.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.1143, allocations: 0.6515 MB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1145, allocations: 8 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.198e-05/0.1146, allocations: 39.58 kB / 445 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.1148, allocations: 71.33 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.115, allocations: 83.89 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.1153, allocations: 355.2 kB / 445.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.1155, allocations: 151.5 kB / 445.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1157, allocations: 139.5 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1159, allocations: 159.3 kB / 445.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.1159, allocations: 32 kB / 445.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.84e-05/0.116, allocations: 36 kB / 446 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.116, allocations: 71.77 kB / 446 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1162, allocations: 155.3 kB / 446.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1164, allocations: 374.7 kB / 446.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1164, allocations: 4 kB / 446.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1164, allocations: 0 / 446.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1165, allocations: 0 / 446.6 MB, free: 1.555 MB / 318.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.000807/0.1173, allocations: 0.5734 MB / 447.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1173, allocations: 15.89 kB / 447.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.1174, allocations: 32.56 kB / 447.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1175, allocations: 207.8 kB / 447.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1176, allocations: 32.97 kB / 447.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.1176, allocations: 28.38 kB / 447.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.118, allocations: 286.3 kB / 447.7 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.118, allocations: 0 / 447.7 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1181, allocations: 8 kB / 447.7 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1181, allocations: 12 kB / 447.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1184, allocations: 214.5 kB / 448 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.1201, allocations: 1.017 MB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/0.1202, allocations: 34.52 kB / 449 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.1203, allocations: 20.92 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1203, allocations: 4 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1203, allocations: 34.56 kB / 449.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.1203, allocations: 0 / 449.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002418/0.1206, allocations: 81.34 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1206, allocations: 51.41 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.121, allocations: 322.8 kB / 449.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.121, allocations: 25.7 kB / 449.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1212, allocations: 234.8 kB / 449.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.1212, allocations: 7.984 kB / 449.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/0.1213, allocations: 57.52 kB / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1215, allocations: 338.9 kB / 450.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1216, allocations: 59.97 kB / 450.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1217, allocations: 89.69 kB / 450.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1219, allocations: 127.5 kB / 450.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1219, allocations: 0 / 450.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003815/0.1223, allocations: 229.4 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1223, allocations: 5.25 kB / 450.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1224, allocations: 7.969 kB / 450.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1224, allocations: 4 kB / 450.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.1227, allocations: 51.91 kB / 450.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.1227, allocations: 11.92 kB / 450.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.1229, allocations: 35.53 kB / 450.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.123, allocations: 8 kB / 450.8 MB, free: 13.1 MB / 334.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.0001484/0.1231, allocations: 138.6 kB / 450.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.1232, allocations: 19.72 kB / 450.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.543e-05/0.1232, allocations: 32.83 kB / 451 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1232, allocations: 0 / 451 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1232, allocations: 0 / 451 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1232, allocations: 0 / 451 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.1239, allocations: 0.5071 MB / 451.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1239, allocations: 0 / 451.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.124, allocations: 4 kB / 451.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.124, allocations: 3.938 kB / 451.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.124, allocations: 4.062 kB / 451.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.124, allocations: 4 kB / 451.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.124, allocations: 0 / 451.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1241, allocations: 105.6 kB / 451.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.1242, allocations: 104.9 kB / 451.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1243, allocations: 0 / 451.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.1244, allocations: 8.031 kB / 451.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1244, allocations: 4 kB / 451.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1244, allocations: 0 / 451.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.1247, allocations: 221.9 kB / 451.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1247, allocations: 0 / 451.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1249, allocations: 67.75 kB / 452 MB, free: 11.78 MB / 334.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 0.0001029/0.1251, allocations: 95.25 kB / 452.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.1253, allocations: 111.9 kB / 452.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1253, allocations: 4 kB / 452.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.1254, allocations: 15.92 kB / 452.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1257, allocations: 24.77 kB / 452.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.1264, allocations: 371.8 kB / 452.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1267, allocations: 0.7402 MB / 453.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.762e-05/0.1268, allocations: 17.94 kB / 453.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.1269, allocations: 19.44 kB / 453.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.825e-06/0.1269, allocations: 4 kB / 453.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Templates: time 0.005122/0.132, allocations: 1.764 MB / 455.1 MB, free: 8.574 MB / 334.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches