Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009905/0.0009903, allocations: 101 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009355/0.0009356, allocations: 199.6 kB / 17.89 MB, free: 5.586 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.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 45.91 MB / 344 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003269, allocations: 4 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1619, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003829/0.1658, allocations: 2.429 MB / 483.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1681, allocations: 0.7484 MB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.1686, allocations: 11.94 kB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1688, allocations: 39.69 kB / 484.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006032/0.1694, allocations: 119.6 kB / 484.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.17, allocations: 87.88 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008656/0.1708, allocations: 299.8 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.1713, allocations: 123 kB / 485.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006546/0.172, allocations: 151.5 kB / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.1724, allocations: 175.2 kB / 485.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.1724, allocations: 20 kB / 485.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1726, allocations: 23.98 kB / 485.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.1727, allocations: 67.73 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1728, allocations: 89.52 kB / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.1732, allocations: 342.9 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1733, allocations: 4 kB / 486.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.1733, allocations: 0 / 486.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.062e-05/0.1733, allocations: 4 kB / 486.1 MB, free: 0.7031 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00177/0.1751, allocations: 0.6317 MB / 486.7 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1751, allocations: 8.031 kB / 486.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.1755, allocations: 59.38 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.1761, allocations: 290.3 kB / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.1761, allocations: 29 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.56e-05/0.1762, allocations: 36 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007302/0.177, allocations: 342.5 kB / 487.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.177, allocations: 3.984 kB / 487.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.177, allocations: 16 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1771, allocations: 15.95 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/0.1777, allocations: 307.8 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.1802, allocations: 1.357 MB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.1807, allocations: 273.8 kB / 489.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.1808, allocations: 4.281 kB / 489.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1808, allocations: 34.78 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.504e-06/0.1808, allocations: 4 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.000874/0.1817, allocations: 395.9 kB / 489.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.1818, allocations: 55.41 kB / 489.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.1821, allocations: 262.7 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1821, allocations: 29.7 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1823, allocations: 215.9 kB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.1824, allocations: 110.3 kB / 490.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.1824, allocations: 11.94 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1826, allocations: 338.8 kB / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1828, allocations: 104.8 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.1831, allocations: 179.4 kB / 491.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1834, allocations: 129.6 kB / 491.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1835, allocations: 0 / 491.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006885/0.1842, allocations: 375 kB / 491.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1842, allocations: 8 kB / 491.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1842, allocations: 0 / 491.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1842, allocations: 7.938 kB / 491.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.1847, allocations: 107.9 kB / 491.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1847, allocations: 4 kB / 491.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.185, allocations: 55.66 kB / 491.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1851, allocations: 8 kB / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.1853, allocations: 153.7 kB / 492 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.1853, allocations: 27.62 kB / 492 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006909/0.186, allocations: 340.1 kB / 492.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.186, allocations: 4 kB / 492.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1861, allocations: 0 / 492.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1861, allocations: 3.984 kB / 492.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.1867, allocations: 405.1 kB / 492.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1867, allocations: 0 / 492.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.1871, allocations: 87.88 kB / 492.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.1871, allocations: 8 kB / 492.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.1872, allocations: 4 kB / 492.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1872, allocations: 0 / 492.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1872, allocations: 3.984 kB / 492.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.1881, allocations: 0.5305 MB / 493.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.1883, allocations: 128.6 kB / 493.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.1883, allocations: 8 kB / 493.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.1885, allocations: 15.98 kB / 493.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.1886, allocations: 19.97 kB / 493.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1887, allocations: 12.06 kB / 493.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1889, allocations: 190 kB / 493.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1889, allocations: 0 / 493.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004021/0.1893, allocations: 91.84 kB / 493.8 MB, free: 8.578 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.1895, allocations: 103.7 kB / 493.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006208/0.1901, allocations: 291.5 kB / 494.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1901, allocations: 0 / 494.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.1904, allocations: 144.3 kB / 494.3 MB, free: 8.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.1907, allocations: 32.83 kB / 494.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.1922, allocations: 0.9442 MB / 495.3 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1926, allocations: 0.7913 MB / 496.1 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000213/0.1928, allocations: 46.88 kB / 496.2 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.1929, allocations: 23.44 kB / 496.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1929, allocations: 0 / 496.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of Templates: time 0.006237/0.1992, allocations: 2.362 MB / 498.5 MB, free: 3.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches