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.00112/0.001121, allocations: 99.97 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 194.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2692/0.2692, allocations: 46.18 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003985, allocations: 8 kB / 418.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 63.55 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003684/0.1604, allocations: 2.569 MB / 485 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1622, allocations: 0.7249 MB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.1627, allocations: 11.94 kB / 485.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.163, allocations: 39.69 kB / 485.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.1634, allocations: 83.31 kB / 485.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.1639, allocations: 87.83 kB / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007075/0.1646, allocations: 426.7 kB / 486.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.165, allocations: 111 kB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.1655, allocations: 159.4 kB / 486.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.1659, allocations: 179.2 kB / 486.8 MB, free: 128 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.166, allocations: 16 kB / 486.8 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1661, allocations: 24 kB / 486.8 MB, free: 88 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.1662, allocations: 63.73 kB / 486.9 MB, free: 24 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1664, allocations: 93.56 kB / 487 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1668, allocations: 342.9 kB / 487.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.1668, allocations: 0 / 487.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.1668, allocations: 3.938 kB / 487.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.1668, allocations: 4 kB / 487.3 MB, free: 15.58 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.001599/0.1685, allocations: 0.6378 MB / 487.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.1685, allocations: 17.05 kB / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.1689, allocations: 59.38 kB / 488 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.1694, allocations: 283 kB / 488.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.1695, allocations: 32.94 kB / 488.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.1696, allocations: 36 kB / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008932/0.1705, allocations: 346.5 kB / 488.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1705, allocations: 0 / 488.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1706, allocations: 16 kB / 488.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1706, allocations: 8 kB / 488.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.1713, allocations: 323.7 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.1739, allocations: 1.337 MB / 490.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.1745, allocations: 287.6 kB / 490.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.1748, allocations: 157.4 kB / 490.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1748, allocations: 4.281 kB / 490.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.1749, allocations: 42.83 kB / 490.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 4.319e-06/0.1749, allocations: 7.984 kB / 490.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008957/0.1758, allocations: 387.3 kB / 491.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.1759, allocations: 67.28 kB / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.1762, allocations: 266.6 kB / 491.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1762, allocations: 29.7 kB / 491.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1764, allocations: 207.9 kB / 491.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1765, allocations: 114.3 kB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.1765, allocations: 8 kB / 491.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1767, allocations: 338.8 kB / 492.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.177, allocations: 112.8 kB / 492.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.1773, allocations: 171.5 kB / 492.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.1776, allocations: 129.6 kB / 492.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.1776, allocations: 0 / 492.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000789/0.1784, allocations: 374.9 kB / 493 MB, free: 9.574 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.1785, allocations: 6.656 kB / 493 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1785, allocations: 4 kB / 493 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1785, allocations: 4 kB / 493 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.179, allocations: 112 kB / 493.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.1791, allocations: 4 kB / 493.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.1794, allocations: 51.52 kB / 493.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.1795, allocations: 15.95 kB / 493.2 MB, free: 9.383 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.0002443/0.1797, allocations: 145.8 kB / 493.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-05/0.1798, allocations: 27.72 kB / 493.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007923/0.1806, allocations: 343.9 kB / 493.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.1806, allocations: 4 kB / 493.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.1807, allocations: 3.984 kB / 493.7 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.1807, allocations: 0 / 493.7 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.1813, allocations: 409.1 kB / 494.1 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.1814, allocations: 7.984 kB / 494.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.1818, allocations: 83.89 kB / 494.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.1819, allocations: 0 / 494.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.1819, allocations: 11.92 kB / 494.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.1819, allocations: 4 kB / 494.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1819, allocations: 0 / 494.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.1829, allocations: 0.5297 MB / 494.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.1831, allocations: 132.6 kB / 494.9 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.1831, allocations: 8 kB / 494.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.1834, allocations: 20.05 kB / 494.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.1835, allocations: 15.97 kB / 494.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1835, allocations: 8 kB / 494.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1837, allocations: 190 kB / 495.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1837, allocations: 3.938 kB / 495.1 MB, free: 7.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003854/0.1841, allocations: 95.75 kB / 495.2 MB, free: 7.266 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.0001393/0.1843, allocations: 95.78 kB / 495.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006463/0.1849, allocations: 291.5 kB / 495.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1849, allocations: 0 / 495.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.1852, allocations: 148.8 kB / 495.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1856, allocations: 32.45 kB / 495.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.1874, allocations: 0.9351 MB / 496.7 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.1878, allocations: 0.7835 MB / 497.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.188, allocations: 42.94 kB / 497.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.1881, allocations: 23.44 kB / 497.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1881, allocations: 0 / 497.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of Templates: time 0.006825/0.195, allocations: 2.375 MB / 499.9 MB, free: 2.512 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