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.001314/0.001314, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.8 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.11 MB / 344.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003011/0.003011, allocations: 77.77 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1681, allocations: 62.46 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004901/0.173, allocations: 3.005 MB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1749, allocations: 0.7711 MB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.1751, allocations: 8 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1753, allocations: 55.39 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1756, allocations: 103 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1759, allocations: 127.8 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.1764, allocations: 458.7 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.1768, allocations: 160.2 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.1771, allocations: 187.3 kB / 485 MB, free: 284 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.1774, allocations: 215 kB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/0.1774, allocations: 40 kB / 485.2 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1776, allocations: 47.98 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.1777, allocations: 83.69 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.1779, allocations: 206.9 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.1784, allocations: 470.3 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1784, allocations: 0 / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1784, allocations: 0 / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1785, allocations: 3.984 kB / 486 MB, free: 15.23 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.001449/0.1799, allocations: 0.7058 MB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.18, allocations: 9.109 kB / 486.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.1802, allocations: 52.45 kB / 486.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.1806, allocations: 287.5 kB / 487.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1807, allocations: 25.38 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.1807, allocations: 40.38 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.1814, allocations: 350.8 kB / 487.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1814, allocations: 0 / 487.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.1815, allocations: 19.94 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.1815, allocations: 8 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.1822, allocations: 299.8 kB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1845, allocations: 1.341 MB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.185, allocations: 285.7 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.1854, allocations: 153.4 kB / 489.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.1854, allocations: 4.281 kB / 489.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.1854, allocations: 42.83 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.1854, allocations: 0 / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008714/0.1863, allocations: 379.2 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.1864, allocations: 59.34 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.1867, allocations: 258.7 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1868, allocations: 33.7 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1869, allocations: 203.9 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.187, allocations: 122.3 kB / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1872, allocations: 74.03 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1873, allocations: 338.8 kB / 491 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.1876, allocations: 104.8 kB / 491.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.1879, allocations: 171.5 kB / 491.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.1884, allocations: 292.6 kB / 491.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1885, allocations: 0 / 491.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006742/0.1891, allocations: 365.9 kB / 492 MB, free: 8.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1892, allocations: 8 kB / 492 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1892, allocations: 0 / 492 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1892, allocations: 4.219 kB / 492 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.1897, allocations: 103.9 kB / 492.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1897, allocations: 7.984 kB / 492.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.19, allocations: 43.53 kB / 492.1 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.19, allocations: 19.98 kB / 492.1 MB, free: 8.793 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.0001751/0.1902, allocations: 149.7 kB / 492.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.1903, allocations: 31.62 kB / 492.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007184/0.191, allocations: 337 kB / 492.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.191, allocations: 4 kB / 492.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.191, allocations: 0 / 492.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.191, allocations: 7.922 kB / 492.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.1916, allocations: 401.1 kB / 493.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1916, allocations: 0 / 493.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.192, allocations: 87.81 kB / 493.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.192, allocations: 0 / 493.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.192, allocations: 12 kB / 493.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.192, allocations: 0 / 493.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.192, allocations: 0 / 493.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.1929, allocations: 0.5143 MB / 493.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.1931, allocations: 132.7 kB / 493.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.1932, allocations: 4 kB / 493.8 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.1934, allocations: 12.06 kB / 493.8 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.1935, allocations: 23.97 kB / 493.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1935, allocations: 7.984 kB / 493.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.1937, allocations: 190 kB / 494 MB, free: 6.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1937, allocations: 4 kB / 494 MB, free: 6.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.1941, allocations: 87.75 kB / 494.1 MB, free: 6.715 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.0001509/0.1942, allocations: 107.2 kB / 494.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.195, allocations: 295.8 kB / 494.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.195, allocations: 0 / 494.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.1953, allocations: 140.3 kB / 494.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1957, allocations: 28.5 kB / 494.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1973, allocations: 0.7755 MB / 495.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.1978, allocations: 0.7835 MB / 496.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.198, allocations: 34.95 kB / 496.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.1981, allocations: 27.44 kB / 496.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1981, allocations: 0 / 496.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of Templates: time 0.00701/0.2051, allocations: 2.645 MB / 498.9 MB, free: 1.852 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