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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 95.2 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 165.3 kB / 23.79 MB, free: 0.7812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9736/0.9736, allocations: 158.6 MB / 185.6 MB, free: 2.508 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1354/0.1354, allocations: 32.37 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.049e-05, allocations: 6.25 kB / 347.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.001953/0.001973, allocations: 2.335 MB / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.002632, allocations: 0.6437 MB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.002699, allocations: 8 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.494e-05/0.002754, allocations: 39.58 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.002858, allocations: 75.27 kB / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.003027, allocations: 95.8 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.003193, allocations: 358.9 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.003348, allocations: 111.8 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.0035, allocations: 203.6 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.003605, allocations: 111.7 kB / 351.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.003635, allocations: 32 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.534e-05/0.00366, allocations: 36 kB / 351.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.003691, allocations: 75.72 kB / 351.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.003749, allocations: 111.7 kB / 351.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.003902, allocations: 235.2 kB / 352.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003904, allocations: 3.938 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003904, allocations: 0 / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.003909, allocations: 0 / 352.1 MB, free: 5 MB / 282.7 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.000449/0.004358, allocations: 0.6093 MB / 352.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.004385, allocations: 12.03 kB / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.004437, allocations: 56.73 kB / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.767e-05/0.004504, allocations: 160.1 kB / 352.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.004521, allocations: 21.03 kB / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.004544, allocations: 32.38 kB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.004761, allocations: 227.3 kB / 353.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.004769, allocations: 192 / 353.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.004785, allocations: 8.375 kB / 353.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.004792, allocations: 11.94 kB / 353.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.004949, allocations: 127.8 kB / 353.3 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.005717, allocations: 0.8694 MB / 354.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.005755, allocations: 27.06 kB / 354.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.005782, allocations: 19.75 kB / 354.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.005788, allocations: 0 / 354.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.0058, allocations: 41.33 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.005801, allocations: 0 / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001058/0.005907, allocations: 53.59 kB / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.005926, allocations: 55.41 kB / 354.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.006059, allocations: 302.6 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/0.006064, allocations: 25.7 kB / 354.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.006126, allocations: 298.1 kB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.006133, allocations: 12.08 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.006183, allocations: 71.3 kB / 355.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.006227, allocations: 0.4962 MB / 355.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.006276, allocations: 31.98 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.006336, allocations: 67.33 kB / 355.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.735e-05/0.006424, allocations: 92.55 kB / 355.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006425, allocations: 0 / 355.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001649/0.00659, allocations: 181.5 kB / 356 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.006599, allocations: 4 kB / 356 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.006602, allocations: 0 / 356 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.006613, allocations: 8.031 kB / 356 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.006746, allocations: 51.91 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.00675, allocations: 4 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.006837, allocations: 39.66 kB / 356.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.006845, allocations: 12 kB / 356.1 MB, free: 0.7891 MB / 282.7 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 5.08e-05/0.006896, allocations: 156.6 kB / 356.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.006916, allocations: 19.84 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.006936, allocations: 24.64 kB / 356.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.006936, allocations: 0 / 356.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.006938, allocations: 4 kB / 356.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.006941, allocations: 7.938 kB / 356.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.007171, allocations: 0.5 MB / 356.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007172, allocations: 0 / 356.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.007182, allocations: 3.938 kB / 356.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.007183, allocations: 4 kB / 356.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.007188, allocations: 0 / 356.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.007189, allocations: 3.938 kB / 356.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007189, allocations: 0 / 356.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.732e-05/0.007277, allocations: 96.09 kB / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.007301, allocations: 27.92 kB / 356.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.007313, allocations: 0 / 356.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.962e-05/0.007353, allocations: 7.875 kB / 356.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.007364, allocations: 4 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.007366, allocations: 3.938 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.007467, allocations: 203.4 kB / 357.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007467, allocations: 0 / 357.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.007625, allocations: 71.78 kB / 357.2 MB, free: 15.57 MB / 298.7 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 5.168e-05/0.007677, allocations: 91.25 kB / 357.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.007797, allocations: 91.58 kB / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.007798, allocations: 0 / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.007813, allocations: 11.69 kB / 357.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.007953, allocations: 24.67 kB / 357.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.008331, allocations: 382.1 kB / 357.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.734e-05/0.008368, allocations: 75.98 kB / 357.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.008423, allocations: 21.62 kB / 357.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.008455, allocations: 12.5 kB / 357.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008455, allocations: 0 / 357.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Templates: time 0.002835/0.01129, allocations: 1.6 MB / 359.5 MB, free: 13.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.24214483005926]