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.001206/0.001207, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 76.94 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1793, allocations: 62.44 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005884/0.1852, allocations: 3.05 MB / 482.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1872, allocations: 0.7673 MB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.1877, allocations: 4 kB / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.1881, allocations: 47.64 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.1886, allocations: 83.3 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.189, allocations: 111.8 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.1897, allocations: 442.6 kB / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.1901, allocations: 144.8 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004509/0.1906, allocations: 171.3 kB / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.1909, allocations: 199.1 kB / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.243e-05/0.191, allocations: 28 kB / 484.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1912, allocations: 28 kB / 484.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.1912, allocations: 75.67 kB / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.1915, allocations: 183 kB / 484.6 MB, free: 412 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.192, allocations: 454.3 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.192, allocations: 4 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.192, allocations: 0 / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.192, allocations: 0 / 485 MB, free: 15.95 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.001777/0.1938, allocations: 0.702 MB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1939, allocations: 9.953 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.1942, allocations: 60.45 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.1946, allocations: 287.5 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.1947, allocations: 29.38 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.1948, allocations: 36.38 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.1955, allocations: 346.8 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1955, allocations: 0 / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1956, allocations: 16 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1956, allocations: 12 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.1962, allocations: 303.8 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.1988, allocations: 1.345 MB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.1994, allocations: 278.8 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.1998, allocations: 165.3 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1998, allocations: 4.281 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1999, allocations: 38.84 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.1999, allocations: 0 / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009668/0.2008, allocations: 371.3 kB / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.2009, allocations: 63.34 kB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.2013, allocations: 270.6 kB / 489.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2013, allocations: 29.7 kB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.2015, allocations: 207.9 kB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2016, allocations: 114.3 kB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2018, allocations: 70.03 kB / 489.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.2019, allocations: 346.8 kB / 490.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.2022, allocations: 104.8 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.2025, allocations: 171.5 kB / 490.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.2031, allocations: 292.6 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2031, allocations: 0 / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007341/0.2038, allocations: 366 kB / 491 MB, free: 9.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.2039, allocations: 4 kB / 491 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2039, allocations: 4 kB / 491 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2039, allocations: 4 kB / 491 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.2044, allocations: 103.8 kB / 491.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2044, allocations: 4 kB / 491.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.2047, allocations: 47.52 kB / 491.2 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.2048, allocations: 12.16 kB / 491.2 MB, free: 9.504 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.0001652/0.205, allocations: 153.7 kB / 491.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.205, allocations: 39.55 kB / 491.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.2057, allocations: 332 kB / 491.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.2057, allocations: 4 kB / 491.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.2057, allocations: 0 / 491.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2058, allocations: 0 / 491.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.2063, allocations: 409.1 kB / 492.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2063, allocations: 0 / 492.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.2067, allocations: 83.86 kB / 492.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2067, allocations: 4 kB / 492.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.2068, allocations: 4 kB / 492.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2068, allocations: 4 kB / 492.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2068, allocations: 0 / 492.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.2077, allocations: 0.5143 MB / 492.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.2079, allocations: 124.7 kB / 492.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.2079, allocations: 4 kB / 492.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.2082, allocations: 15.98 kB / 492.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.2083, allocations: 27.91 kB / 492.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.2083, allocations: 8 kB / 492.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.2085, allocations: 194 kB / 493.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2085, allocations: 4.062 kB / 493.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003937/0.2089, allocations: 91.75 kB / 493.2 MB, free: 7.418 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.0001384/0.209, allocations: 99.19 kB / 493.3 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006374/0.2097, allocations: 279.9 kB / 493.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2097, allocations: 4.375 kB / 493.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.21, allocations: 144.3 kB / 493.7 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.2104, allocations: 31.75 kB / 493.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.2122, allocations: 0.904 MB / 494.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2126, allocations: 0.7835 MB / 495.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.2128, allocations: 38.95 kB / 495.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.2129, allocations: 27.42 kB / 495.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2129, allocations: 0 / 495.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of Templates: time 0.00647/0.2194, allocations: 2.463 MB / 497.9 MB, free: 2.617 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