Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 95.25 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 186.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 9.344 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003186/0.1507, allocations: 2.401 MB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1519, allocations: 0.7173 MB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1521, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.633e-05/0.1522, allocations: 39.62 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1524, allocations: 119.7 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1527, allocations: 79.89 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.1531, allocations: 303.6 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.1534, allocations: 123 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.1536, allocations: 151.4 kB / 475.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1538, allocations: 179.2 kB / 475.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.1539, allocations: 20 kB / 475.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.66e-05/0.1539, allocations: 20 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.154, allocations: 63.75 kB / 475.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.1541, allocations: 93.45 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1544, allocations: 350.9 kB / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1544, allocations: 0 / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1544, allocations: 0 / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1544, allocations: 3.938 kB / 476.1 MB, free: 9.059 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.001329/0.1557, allocations: 0.6357 MB / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.1558, allocations: 8.031 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.566e-05/0.1559, allocations: 43.44 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.1563, allocations: 278.3 kB / 477.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.1563, allocations: 29 kB / 477.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.1564, allocations: 36 kB / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.1571, allocations: 358.3 kB / 477.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.1571, allocations: 4 kB / 477.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1572, allocations: 12 kB / 477.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1572, allocations: 12 kB / 477.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.1578, allocations: 311.8 kB / 477.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.1601, allocations: 1.357 MB / 479.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.1606, allocations: 276.9 kB / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.1607, allocations: 8.281 kB / 479.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1607, allocations: 38.84 kB / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.1607, allocations: 0 / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008461/0.1616, allocations: 391.8 kB / 479.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1617, allocations: 55.41 kB / 479.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.162, allocations: 258.7 kB / 480.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.162, allocations: 29.7 kB / 480.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1622, allocations: 211.9 kB / 480.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/0.1623, allocations: 114.3 kB / 480.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.1623, allocations: 8 kB / 480.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1624, allocations: 342.8 kB / 480.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.1627, allocations: 112.8 kB / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1629, allocations: 175.5 kB / 481.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.1632, allocations: 125.6 kB / 481.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1632, allocations: 7.953 kB / 481.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006139/0.1638, allocations: 366.9 kB / 481.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1639, allocations: 4 kB / 481.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1639, allocations: 8.219 kB / 481.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1639, allocations: 7.984 kB / 481.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.1644, allocations: 103.8 kB / 481.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1644, allocations: 4 kB / 481.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1647, allocations: 51.52 kB / 481.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.1647, allocations: 12 kB / 481.8 MB, free: 3.055 MB / 350.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.0001612/0.1649, allocations: 154.3 kB / 482 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.1649, allocations: 27.67 kB / 482 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.1656, allocations: 336.2 kB / 482.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1656, allocations: 4 kB / 482.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1656, allocations: 4 kB / 482.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1656, allocations: 3.938 kB / 482.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.1661, allocations: 405.2 kB / 482.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1661, allocations: 0 / 482.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.1665, allocations: 91.83 kB / 482.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.1666, allocations: 4 kB / 482.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.1666, allocations: 4 kB / 482.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1666, allocations: 0 / 482.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1666, allocations: 4 kB / 482.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.1675, allocations: 0.526 MB / 483.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.1676, allocations: 136.7 kB / 483.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.1677, allocations: 15.83 kB / 483.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1679, allocations: 15.98 kB / 483.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.168, allocations: 23.97 kB / 483.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.168, allocations: 4 kB / 483.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1682, allocations: 190 kB / 483.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1682, allocations: 0 / 483.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.1686, allocations: 91.84 kB / 483.8 MB, free: 0.9453 MB / 350.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.0001533/0.1687, allocations: 103.2 kB / 483.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.1693, allocations: 283.5 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1693, allocations: 448 / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.1695, allocations: 147.8 kB / 484.3 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1698, allocations: 22.91 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.1712, allocations: 0.9427 MB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1716, allocations: 0.7952 MB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.1718, allocations: 34.95 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.1719, allocations: 23.44 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1719, allocations: 4 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Templates: time 0.005927/0.1778, allocations: 2.355 MB / 488.5 MB, free: 12.2 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches