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.001164/0.001164, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001452/0.001452, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9871/0.9871, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1529/0.1529, allocations: 32.37 MB / 270.7 MB, free: 14.53 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 2.565e-06/2.565e-06, allocations: 0 / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/2.066e-05, allocations: 8.219 kB / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002245/0.002265, allocations: 2.308 MB / 350.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.003148, allocations: 0.6359 MB / 351 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.003244, allocations: 4 kB / 351 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.985e-05/0.003313, allocations: 39.58 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.003455, allocations: 83.2 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.003653, allocations: 87.86 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.003869, allocations: 358.9 kB / 351.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.004084, allocations: 111.8 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.004332, allocations: 207.6 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.004472, allocations: 115.7 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.004508, allocations: 36 kB / 352.1 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.277e-05/0.004541, allocations: 35.94 kB / 352.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.004584, allocations: 71.78 kB / 352.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.00465, allocations: 111.7 kB / 352.3 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004836, allocations: 231.2 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004838, allocations: 0 / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004838, allocations: 4 kB / 352.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.004845, allocations: 0 / 352.5 MB, free: 4.762 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.0006285/0.005473, allocations: 0.6131 MB / 353.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.005518, allocations: 8.031 kB / 353.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.005578, allocations: 60.73 kB / 353.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.354e-05/0.005662, allocations: 152.1 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.005704, allocations: 33.03 kB / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.005733, allocations: 32.36 kB / 353.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.005944, allocations: 203.3 kB / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005955, allocations: 192 / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.005976, allocations: 12.38 kB / 353.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.005986, allocations: 11.94 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.006093, allocations: 96.44 kB / 353.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008488/0.006941, allocations: 0.827 MB / 354.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.807e-05/0.00699, allocations: 35.05 kB / 354.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.007013, allocations: 11.75 kB / 354.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.00702, allocations: 0 / 354.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.007039, allocations: 45.31 kB / 354.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.00704, allocations: 0 / 354.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.007172, allocations: 49.61 kB / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.007197, allocations: 59.39 kB / 354.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.007338, allocations: 290.6 kB / 355 MB, free: 2.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.007347, allocations: 25.7 kB / 355.1 MB, free: 2.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.007436, allocations: 298 kB / 355.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.007444, allocations: 11.95 kB / 355.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.0075, allocations: 63.28 kB / 355.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.007571, allocations: 0.5 MB / 355.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.00761, allocations: 27.97 kB / 355.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.007659, allocations: 59.27 kB / 356 MB, free: 1.066 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.007729, allocations: 84.72 kB / 356.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.007732, allocations: 0 / 356.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001507/0.007883, allocations: 161.5 kB / 356.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007896, allocations: 4 kB / 356.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007901, allocations: 4 kB / 356.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.007915, allocations: 0 / 356.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.008055, allocations: 59.89 kB / 356.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.00806, allocations: 3.984 kB / 356.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/0.008146, allocations: 31.73 kB / 356.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.008157, allocations: 11.94 kB / 356.4 MB, free: 0.6992 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 6.78e-05/0.008225, allocations: 168.5 kB / 356.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.008245, allocations: 19.89 kB / 356.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.008275, allocations: 16.64 kB / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.008277, allocations: 0 / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008278, allocations: 0 / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008281, allocations: 3.938 kB / 356.6 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.008561, allocations: 480.4 kB / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008562, allocations: 0 / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.008573, allocations: 4 kB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.008575, allocations: 4.062 kB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.00858, allocations: 4 kB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008582, allocations: 0 / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.008583, allocations: 0 / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.627e-05/0.008669, allocations: 99.97 kB / 357.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.008695, allocations: 15.91 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.00871, allocations: 3.984 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.008748, allocations: 4 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.008761, allocations: 7.875 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.008763, allocations: 0 / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.008861, allocations: 199.4 kB / 357.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008861, allocations: 0 / 357.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.009023, allocations: 71.78 kB / 357.4 MB, free: 15.54 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 8.076e-05/0.009104, allocations: 91.25 kB / 357.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.009224, allocations: 79.58 kB / 357.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.009226, allocations: 0 / 357.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.009244, allocations: 15.67 kB / 357.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.009418, allocations: 30.97 kB / 357.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.009855, allocations: 374 kB / 358 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.0099, allocations: 75.97 kB / 358.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.009965, allocations: 21.62 kB / 358.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.01005, allocations: 94.19 kB / 358.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01005, allocations: 0 / 358.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.00367/0.01372, allocations: 1.693 MB / 359.9 MB, free: 13.02 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.0557682369835675]