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.0009845/0.0009845, allocations: 95.31 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.001023/0.001023, allocations: 165 kB / 23.8 MB, free: 0.7773 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 1.105/1.105, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1491/0.1491, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.153e-06/1.153e-06, allocations: 0 / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.504e-05, allocations: 12.16 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.00194/0.001956, allocations: 2.32 MB / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003147, allocations: 0.6515 MB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.003313, allocations: 4 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.05e-05/0.003403, allocations: 39.58 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.003588, allocations: 75.27 kB / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.003864, allocations: 87.81 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.004127, allocations: 370.9 kB / 351.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.004337, allocations: 103.8 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.004625, allocations: 207.6 kB / 351.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.004764, allocations: 111.7 kB / 351.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.004804, allocations: 32 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.861e-05/0.004832, allocations: 32 kB / 351.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.004871, allocations: 79.72 kB / 351.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.004936, allocations: 107.8 kB / 351.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.005135, allocations: 239.2 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005138, allocations: 0 / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.005141, allocations: 4 kB / 352.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.005147, allocations: 0 / 352.1 MB, free: 4.996 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.0005744/0.005722, allocations: 0.6053 MB / 352.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.005761, allocations: 12.03 kB / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.005832, allocations: 60.75 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.005936, allocations: 152.2 kB / 352.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.005959, allocations: 25.03 kB / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.005982, allocations: 28.38 kB / 353 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.006255, allocations: 227.3 kB / 353.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006265, allocations: 192 / 353.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.006286, allocations: 20.36 kB / 353.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.006297, allocations: 11.94 kB / 353.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.006463, allocations: 123.8 kB / 353.3 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.007444, allocations: 0.8655 MB / 354.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.007501, allocations: 35 kB / 354.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.007536, allocations: 15.75 kB / 354.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.007543, allocations: 4 kB / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.007559, allocations: 33.39 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.007561, allocations: 0 / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.007715, allocations: 61.53 kB / 354.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.007736, allocations: 55.34 kB / 354.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.007886, allocations: 302.6 kB / 354.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.007891, allocations: 25.7 kB / 354.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.007967, allocations: 298.1 kB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.007976, allocations: 11.95 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.008033, allocations: 63.3 kB / 355.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.00808, allocations: 0.4963 MB / 355.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.008132, allocations: 39.97 kB / 355.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.008196, allocations: 63.34 kB / 355.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.008292, allocations: 88.61 kB / 355.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008295, allocations: 3.938 kB / 355.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001863/0.008481, allocations: 181.6 kB / 356 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.008493, allocations: 4 kB / 356 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.008498, allocations: 0 / 356 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.008513, allocations: 0 / 356 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.008672, allocations: 63.92 kB / 356 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.008677, allocations: 0 / 356 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.008773, allocations: 39.67 kB / 356.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.008782, allocations: 4 kB / 356.1 MB, free: 0.793 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.089e-05/0.008843, allocations: 168.5 kB / 356.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.008865, allocations: 15.91 kB / 356.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.008889, allocations: 16.64 kB / 356.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008891, allocations: 0 / 356.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.008895, allocations: 0 / 356.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008899, allocations: 11.92 kB / 356.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.009206, allocations: 0.5116 MB / 356.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.009208, allocations: 0 / 356.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.009223, allocations: 4 kB / 356.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.009225, allocations: 0 / 356.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.009232, allocations: 0 / 356.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-05/0.00926, allocations: 8.141 kB / 356.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009262, allocations: 0 / 356.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.968e-05/0.009361, allocations: 95.97 kB / 356.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.00939, allocations: 19.89 kB / 356.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.009407, allocations: 8.031 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.009455, allocations: 11.94 kB / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.009471, allocations: 0 / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.009475, allocations: 0 / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.009589, allocations: 199.4 kB / 357.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009589, allocations: 0 / 357.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.009775, allocations: 75.78 kB / 357.2 MB, free: 15.56 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.482e-05/0.00986, allocations: 91.23 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.01003, allocations: 91.59 kB / 357.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01003, allocations: 8 kB / 357.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.01004, allocations: 11.67 kB / 357.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01023, allocations: 22.94 kB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.01073, allocations: 378.1 kB / 357.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.01077, allocations: 75.98 kB / 357.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.809e-05/0.01084, allocations: 21.56 kB / 357.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.01088, allocations: 24.48 kB / 357.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.01089, allocations: 0 / 357.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of Templates: time 0.003751/0.01464, allocations: 1.654 MB / 359.6 MB, free: 13.14 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.1598214702680707]