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.0009383/0.0009383, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001073/0.001073, allocations: 192 kB / 18.55 MB, free: 4.566 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.361/1.361, allocations: 222.9 MB / 242.2 MB, free: 15.19 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.2159/0.2159, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 60.08 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1352, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005178/0.1404, allocations: 2.989 MB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1423, allocations: 0.7284 MB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004779/0.1429, allocations: 7.938 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1432, allocations: 59.38 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.1437, allocations: 99.11 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.1442, allocations: 115.8 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.1449, allocations: 478.5 kB / 473.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.1453, allocations: 160.2 kB / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.1458, allocations: 179.4 kB / 474.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.1461, allocations: 203.1 kB / 474.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1462, allocations: 43.98 kB / 474.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.1464, allocations: 36 kB / 474.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1465, allocations: 103.6 kB / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.1467, allocations: 203 kB / 474.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.1472, allocations: 458.3 kB / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1473, allocations: 0 / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1473, allocations: 0 / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.1473, allocations: 0 / 475.1 MB, free: 8.52 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.001719/0.149, allocations: 0.7058 MB / 475.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.1491, allocations: 8.031 kB / 475.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1492, allocations: 44.47 kB / 475.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.1496, allocations: 275.6 kB / 476.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.1497, allocations: 33.31 kB / 476.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.1497, allocations: 40.38 kB / 476.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.1504, allocations: 346.7 kB / 476.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1504, allocations: 0 / 476.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.1504, allocations: 16 kB / 476.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1505, allocations: 12 kB / 476.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.151, allocations: 303.8 kB / 476.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.1532, allocations: 1.341 MB / 478.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.1537, allocations: 282.8 kB / 478.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.154, allocations: 165.3 kB / 478.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.154, allocations: 4.281 kB / 478.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1541, allocations: 38.84 kB / 478.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.1541, allocations: 0 / 478.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007972/0.1549, allocations: 375.2 kB / 479 MB, free: 4.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1549, allocations: 67.34 kB / 479.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.1552, allocations: 254.7 kB / 479.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1552, allocations: 37.7 kB / 479.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1554, allocations: 203.8 kB / 479.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.1555, allocations: 122.3 kB / 479.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1556, allocations: 77.97 kB / 479.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1557, allocations: 338.8 kB / 480.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.156, allocations: 104.8 kB / 480.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1562, allocations: 179.4 kB / 480.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.1567, allocations: 284.7 kB / 480.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1567, allocations: 0 / 480.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006199/0.1574, allocations: 369.9 kB / 481 MB, free: 2.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1574, allocations: 8 kB / 481 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1574, allocations: 0 / 481 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1574, allocations: 4 kB / 481 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.1579, allocations: 103.9 kB / 481.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1579, allocations: 7.938 kB / 481.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.1582, allocations: 43.75 kB / 481.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.1582, allocations: 19.98 kB / 481.2 MB, free: 2.078 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.1584, allocations: 149.7 kB / 481.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.1585, allocations: 31.62 kB / 481.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/0.1591, allocations: 316.4 kB / 481.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.1591, allocations: 4 kB / 481.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1591, allocations: 7.938 kB / 481.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1591, allocations: 3.984 kB / 481.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.1596, allocations: 405.1 kB / 482.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1596, allocations: 0 / 482.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.16, allocations: 75.94 kB / 482.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.16, allocations: 4 kB / 482.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.16, allocations: 7.938 kB / 482.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.16, allocations: 0 / 482.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.16, allocations: 3.938 kB / 482.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.1609, allocations: 0.5266 MB / 482.7 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.161, allocations: 128.7 kB / 482.8 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.161, allocations: 4 kB / 482.8 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.1612, allocations: 11.98 kB / 482.9 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.1613, allocations: 23.97 kB / 482.9 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1613, allocations: 8 kB / 482.9 MB, free: 296 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.1615, allocations: 198 kB / 483.1 MB, free: 100 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1615, allocations: 0 / 483.1 MB, free: 100 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.1619, allocations: 87.75 kB / 483.2 MB, free: 12 kB / 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 (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.0001353/0.162, allocations: 107.2 kB / 483.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007132/0.1627, allocations: 284.2 kB / 483.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1628, allocations: 4.125 kB / 483.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.163, allocations: 139.8 kB / 483.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.1634, allocations: 32.44 kB / 483.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.1648, allocations: 0.7594 MB / 484.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1652, allocations: 0.7835 MB / 485.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.1653, allocations: 38.95 kB / 485.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.1654, allocations: 23.44 kB / 485.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1654, allocations: 0 / 485.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of Templates: time 0.006432/0.1719, allocations: 2.646 MB / 488 MB, free: 11.16 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches