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.001186/0.001186, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 213.7 kB / 18.14 MB, free: 5.344 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 / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 75.89 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.149, allocations: 62.45 MB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003838/0.1529, allocations: 2.403 MB / 481.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1542, allocations: 0.6545 MB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.1543, allocations: 8 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.1544, allocations: 31.77 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1546, allocations: 63.47 kB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1548, allocations: 79.86 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.1551, allocations: 327.3 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.1554, allocations: 131.9 kB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.1556, allocations: 131.6 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1558, allocations: 151.4 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.1559, allocations: 24 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.156, allocations: 32 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.156, allocations: 63.75 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1562, allocations: 147.3 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.1566, allocations: 370.9 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1567, allocations: 3.938 kB / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1567, allocations: 0 / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1567, allocations: 0 / 483.9 MB, free: 1.098 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.0009342/0.1576, allocations: 0.5695 MB / 484.5 MB, free: 492 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1577, allocations: 12.88 kB / 484.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.158, allocations: 48.55 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1582, allocations: 211.9 kB / 484.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.477e-05/0.1583, allocations: 21.22 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.1583, allocations: 32.38 kB / 484.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.1588, allocations: 282.2 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1589, allocations: 4 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.1589, allocations: 11.98 kB / 485.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1589, allocations: 8 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.1594, allocations: 222.5 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.1612, allocations: 1.016 MB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.1613, allocations: 30.58 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.1614, allocations: 28.91 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.1614, allocations: 0 / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1614, allocations: 38.5 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1614, allocations: 0 / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002506/0.1617, allocations: 73.36 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.1617, allocations: 51.41 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.1622, allocations: 323 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1622, allocations: 29.7 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.1624, allocations: 234.8 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1625, allocations: 15.89 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1626, allocations: 53.61 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.1628, allocations: 334.8 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.163, allocations: 71.97 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.1631, allocations: 85.69 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1634, allocations: 131.1 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1634, allocations: 0 / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004534/0.1639, allocations: 233.3 kB / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.1639, allocations: 11.94 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1639, allocations: 3.984 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.164, allocations: 0 / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.1643, allocations: 59.89 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/0.1643, allocations: 0 / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.1646, allocations: 43.56 kB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.1646, allocations: 11.98 kB / 488.1 MB, free: 12.61 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.0001665/0.1648, allocations: 129.8 kB / 488.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.1649, allocations: 19.75 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.156e-05/0.1649, allocations: 28.83 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.165, allocations: 0 / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.165, allocations: 3.938 kB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.165, allocations: 3.938 kB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.1657, allocations: 0.5071 MB / 488.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1657, allocations: 0 / 488.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.1658, allocations: 7.938 kB / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1658, allocations: 0 / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1658, allocations: 0 / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1658, allocations: 0 / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.1658, allocations: 7.984 kB / 488.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.166, allocations: 101.8 kB / 488.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.1661, allocations: 100.8 kB / 489 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.1661, allocations: 4 kB / 489 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1662, allocations: 3.984 kB / 489 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.1663, allocations: 0 / 489 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1663, allocations: 4 kB / 489.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003285/0.1666, allocations: 230 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.495e-06/0.1666, allocations: 0 / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.167, allocations: 67.78 kB / 489.3 MB, free: 11.29 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.0001759/0.1671, allocations: 91.25 kB / 489.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1674, allocations: 119.9 kB / 489.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1675, allocations: 0 / 489.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.1675, allocations: 4 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1678, allocations: 35.5 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.1687, allocations: 477.1 kB / 490.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1692, allocations: 0.7443 MB / 490.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1693, allocations: 21.92 kB / 490.8 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.1694, allocations: 27.44 kB / 490.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1694, allocations: 0 / 490.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of Templates: time 0.005025/0.1744, allocations: 1.665 MB / 492.5 MB, free: 8.066 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches