Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9241/0.9241, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2524/0.2524, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.601e-05/3.821e-05, allocations: 3.406 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004401/0.00444, allocations: 2.379 MB / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.006041, allocations: 0.6668 MB / 328.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.006157, allocations: 4 kB / 329 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.523e-05/0.006253, allocations: 43.58 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.006493, allocations: 75.28 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.006897, allocations: 95.8 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.007293, allocations: 347.8 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.007561, allocations: 114.4 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.007973, allocations: 215.6 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.008173, allocations: 111.7 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.008222, allocations: 32 kB / 330 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.008318, allocations: 43.94 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.008383, allocations: 79.72 kB / 330.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.008501, allocations: 107.8 kB / 330.2 MB, free: 2.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.008853, allocations: 243.1 kB / 330.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.008858, allocations: 0 / 330.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008859, allocations: 0 / 330.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.008863, allocations: 0 / 330.4 MB, free: 2.625 MB / 298.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.0007709/0.009634, allocations: 0.4898 MB / 330.9 MB, free: 2.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.009678, allocations: 12.03 kB / 330.9 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.009969, allocations: 60.89 kB / 331 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.01014, allocations: 149.4 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.01017, allocations: 25.03 kB / 331.2 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.01022, allocations: 36.36 kB / 331.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.01057, allocations: 211.3 kB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.01059, allocations: 4.188 kB / 331.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.01062, allocations: 16.38 kB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.01063, allocations: 11.94 kB / 331.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.01079, allocations: 76.55 kB / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.01212, allocations: 0.6762 MB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.01218, allocations: 18.58 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.01222, allocations: 12.92 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.01223, allocations: 0 / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.01225, allocations: 34.55 kB / 332.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.01226, allocations: 0 / 332.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001664/0.01242, allocations: 49.62 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.01246, allocations: 51.53 kB / 332.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.01268, allocations: 244.4 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.0127, allocations: 25.7 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.01284, allocations: 239.4 kB / 332.8 MB, free: 72 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.01286, allocations: 15.89 kB / 332.9 MB, free: 56 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.01298, allocations: 57.58 kB / 332.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.01311, allocations: 330.7 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.01317, allocations: 24.48 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.01326, allocations: 54.11 kB / 333.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.01339, allocations: 78.09 kB / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01339, allocations: 4 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002387/0.01363, allocations: 129.6 kB / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.01365, allocations: 8 kB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01365, allocations: 0 / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01367, allocations: 0 / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.01392, allocations: 55.91 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01392, allocations: 0 / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.01408, allocations: 31.77 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.0141, allocations: 8 kB / 333.6 MB, free: 15.26 MB / 314.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 0.000101/0.0142, allocations: 121.8 kB / 333.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.01424, allocations: 11.98 kB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.01428, allocations: 20.62 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01429, allocations: 3.938 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01429, allocations: 0 / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01429, allocations: 0 / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.01477, allocations: 335.6 kB / 334.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01478, allocations: 0 / 334.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.0148, allocations: 7.938 kB / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.0148, allocations: 0 / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.01481, allocations: 64 / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.01481, allocations: 8 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01481, allocations: 0 / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.01491, allocations: 77.91 kB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.01495, allocations: 11.91 kB / 334.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.01497, allocations: 4 kB / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.01505, allocations: 0 / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.01506, allocations: 7.938 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.01507, allocations: 4 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.01517, allocations: 73.75 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01517, allocations: 0 / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.01545, allocations: 75.81 kB / 334.4 MB, free: 14.44 MB / 314.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 0.0001228/0.01558, allocations: 73.3 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.01576, allocations: 88.92 kB / 334.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.01577, allocations: 4 kB / 334.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.01579, allocations: 8.859 kB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.01597, allocations: 16.73 kB / 334.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.01658, allocations: 371.5 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.01665, allocations: 79.97 kB / 335 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.01675, allocations: 17.62 kB / 335 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.01686, allocations: 71.36 kB / 335.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/0.01686, allocations: 0 / 335.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of Templates: time 0.005283/0.02215, allocations: 1.681 MB / 336.8 MB, free: 12.01 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/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: 2.8762252470478415]