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.001154/0.001154, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.4 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.272/0.272, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 79.39 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1431, allocations: 62.44 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004723/0.1478, allocations: 3.047 MB / 482.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1494, allocations: 0.7634 MB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.1496, allocations: 4 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.1499, allocations: 43.62 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1501, allocations: 83.31 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1505, allocations: 107.9 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.151, allocations: 462.6 kB / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.1513, allocations: 160.2 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.1516, allocations: 191.3 kB / 484.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1519, allocations: 211.1 kB / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.1519, allocations: 44 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.405e-05/0.152, allocations: 40 kB / 484.6 MB, free: 444 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1521, allocations: 91.66 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.1524, allocations: 203 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.1529, allocations: 466.3 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1529, allocations: 4 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1529, allocations: 0 / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1529, allocations: 0 / 485.4 MB, free: 15.68 MB / 366.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.001424/0.1543, allocations: 0.7059 MB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1544, allocations: 9.109 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.1547, allocations: 56.45 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1551, allocations: 283.5 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1551, allocations: 29.38 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.1552, allocations: 36.38 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.1559, allocations: 350.8 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1559, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.1559, allocations: 16 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1559, allocations: 8 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005961/0.1565, allocations: 303.8 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.1588, allocations: 1.349 MB / 488.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.1593, allocations: 283.6 kB / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.1596, allocations: 157.4 kB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.1597, allocations: 8.266 kB / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1597, allocations: 42.78 kB / 489 MB, free: 11.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.1597, allocations: 0 / 489 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008297/0.1605, allocations: 375.3 kB / 489.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1606, allocations: 59.34 kB / 489.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.1609, allocations: 258.7 kB / 489.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1609, allocations: 33.7 kB / 489.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.161, allocations: 203.9 kB / 489.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/0.1612, allocations: 118.3 kB / 490 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1613, allocations: 74.03 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1614, allocations: 338.8 kB / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.1617, allocations: 100.8 kB / 490.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.162, allocations: 179.4 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.1625, allocations: 292.7 kB / 491 MB, free: 9.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1625, allocations: 4 kB / 491 MB, free: 9.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006806/0.1632, allocations: 365.9 kB / 491.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1632, allocations: 4 kB / 491.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1632, allocations: 3.938 kB / 491.3 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1633, allocations: 8.219 kB / 491.3 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.1637, allocations: 103.8 kB / 491.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1638, allocations: 7.984 kB / 491.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.164, allocations: 43.53 kB / 491.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.1641, allocations: 19.98 kB / 491.5 MB, free: 9.227 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.1642, allocations: 145.7 kB / 491.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.1643, allocations: 31.62 kB / 491.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.165, allocations: 332 kB / 492 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.165, allocations: 7.938 kB / 492 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.165, allocations: 0 / 492 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.165, allocations: 7.984 kB / 492 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.1655, allocations: 401.1 kB / 492.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1655, allocations: 0 / 492.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.1659, allocations: 83.88 kB / 492.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1659, allocations: 4 kB / 492.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.166, allocations: 8 kB / 492.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.166, allocations: 0 / 492.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.166, allocations: 0 / 492.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.1668, allocations: 0.5104 MB / 493 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.167, allocations: 132.7 kB / 493.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.526e-05/0.167, allocations: 8 kB / 493.1 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.1673, allocations: 16.05 kB / 493.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.1673, allocations: 23.97 kB / 493.2 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1674, allocations: 4 kB / 493.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1676, allocations: 198 kB / 493.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1676, allocations: 0 / 493.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.1679, allocations: 87.75 kB / 493.5 MB, free: 7.152 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 (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.0001241/0.168, allocations: 103.2 kB / 493.6 MB, free: 7.043 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.1687, allocations: 295.8 kB / 493.9 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1687, allocations: 0 / 493.9 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.169, allocations: 140.3 kB / 494 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.1694, allocations: 28.5 kB / 494 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1709, allocations: 0.9199 MB / 494.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1713, allocations: 0.7835 MB / 495.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.1715, allocations: 34.95 kB / 495.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-05/0.1716, allocations: 27.44 kB / 495.8 MB, free: 4.773 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1716, allocations: 0 / 495.8 MB, free: 4.773 MB / 366.1 MB Notification: Performance of Templates: time 0.00603/0.1776, allocations: 2.589 MB / 498.4 MB, free: 2.211 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches