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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001897, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.09 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 79.09 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 62.45 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004931/0.1389, allocations: 2.364 MB / 483.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1406, allocations: 0.6622 MB / 483.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.1408, allocations: 4 kB / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.141, allocations: 43.58 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.1413, allocations: 71.34 kB / 483.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1418, allocations: 87.88 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.1423, allocations: 347.2 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.1427, allocations: 151.5 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.1431, allocations: 147.6 kB / 484.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.1434, allocations: 163.3 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.1435, allocations: 32 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1437, allocations: 40 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.1438, allocations: 67.77 kB / 484.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.144, allocations: 159.2 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.1445, allocations: 374.9 kB / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1445, allocations: 0 / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1446, allocations: 0 / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1446, allocations: 0 / 485.4 MB, free: 0.5938 MB / 350.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.001345/0.1459, allocations: 0.5773 MB / 486 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.146, allocations: 8.031 kB / 486 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.1465, allocations: 52.55 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1468, allocations: 203.8 kB / 486.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.1469, allocations: 29.2 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.147, allocations: 32.38 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.1477, allocations: 282.1 kB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1478, allocations: 0 / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.1478, allocations: 12 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1478, allocations: 8 kB / 486.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.1485, allocations: 218.5 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.1511, allocations: 1.017 MB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1512, allocations: 30.52 kB / 487.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.1513, allocations: 28.92 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1513, allocations: 7.938 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1514, allocations: 34.5 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 5.56e-06/0.1514, allocations: 3.984 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003181/0.1517, allocations: 85.28 kB / 488 MB, free: 13.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1518, allocations: 51.41 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.1522, allocations: 319 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1522, allocations: 29.7 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1524, allocations: 234.8 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.1524, allocations: 11.91 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.1525, allocations: 49.61 kB / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1527, allocations: 334.8 kB / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.153, allocations: 67.97 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1532, allocations: 101.7 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1535, allocations: 121.7 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1535, allocations: 0 / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006116/0.1542, allocations: 237.8 kB / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.1542, allocations: 14.42 kB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1542, allocations: 4 kB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1543, allocations: 0 / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.1547, allocations: 51.91 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.1547, allocations: 4 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.1551, allocations: 47.55 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.1551, allocations: 4 kB / 489.6 MB, free: 12.1 MB / 366.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.0001719/0.1553, allocations: 133.8 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.1554, allocations: 23.75 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.1554, allocations: 20.89 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1555, allocations: 4 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1555, allocations: 0 / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1555, allocations: 0 / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/0.1564, allocations: 0.511 MB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1564, allocations: 4 kB / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.1565, allocations: 0 / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.1565, allocations: 4 kB / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1565, allocations: 0 / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1565, allocations: 0 / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1565, allocations: 3.938 kB / 490.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.1567, allocations: 109.7 kB / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1569, allocations: 100.8 kB / 490.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.1569, allocations: 0 / 490.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1571, allocations: 4 kB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.1571, allocations: 0 / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1571, allocations: 0 / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003782/0.1575, allocations: 237.9 kB / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1575, allocations: 0 / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000468/0.158, allocations: 63.84 kB / 490.8 MB, free: 10.78 MB / 366.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.0001153/0.1581, allocations: 91.25 kB / 490.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1585, allocations: 119.9 kB / 491.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1585, allocations: 0 / 491.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.1586, allocations: 11.94 kB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.159, allocations: 29.02 kB / 491.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.16, allocations: 405.1 kB / 491.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1604, allocations: 0.744 MB / 492.2 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1605, allocations: 23.44 kB / 492.3 MB, free: 9.301 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1605, allocations: 0 / 492.3 MB, free: 9.301 MB / 366.1 MB Notification: Performance of Templates: time 0.006587/0.1671, allocations: 2.697 MB / 495 MB, free: 6.605 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches