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.0009071/0.0009071, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0009616/0.0009617, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.626/1.626, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003285/0.1546, allocations: 2.652 MB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1559, allocations: 0.7168 MB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1561, allocations: 4 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1562, allocations: 39.62 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1565, allocations: 91.3 kB / 475.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1568, allocations: 95.91 kB / 475.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.1573, allocations: 458.4 kB / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.1576, allocations: 136.8 kB / 476.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.1578, allocations: 155.4 kB / 476.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.158, allocations: 183.1 kB / 476.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.1581, allocations: 20 kB / 476.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.85e-05/0.1582, allocations: 20 kB / 476.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.1582, allocations: 71.61 kB / 476.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.1585, allocations: 204.7 kB / 477.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.159, allocations: 442.2 kB / 477.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.159, allocations: 0 / 477.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.159, allocations: 0 / 477.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.159, allocations: 0 / 477.5 MB, free: 8.035 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.001297/0.1603, allocations: 0.6358 MB / 478.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1603, allocations: 8.031 kB / 478.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.1604, allocations: 44.38 kB / 478.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1608, allocations: 279.6 kB / 478.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1609, allocations: 29.38 kB / 478.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.1609, allocations: 40.38 kB / 478.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.1617, allocations: 354.8 kB / 478.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1617, allocations: 0 / 478.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.1617, allocations: 16 kB / 478.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.1617, allocations: 8 kB / 478.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.1624, allocations: 319.8 kB / 479.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.1646, allocations: 1.349 MB / 480.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.1652, allocations: 284.9 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.1655, allocations: 169.3 kB / 481 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.1655, allocations: 4.281 kB / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1655, allocations: 38.78 kB / 481.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.1656, allocations: 0 / 481.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008973/0.1665, allocations: 391.4 kB / 481.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1665, allocations: 59.34 kB / 481.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1668, allocations: 266.6 kB / 481.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1669, allocations: 29.7 kB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.167, allocations: 204 kB / 482 MB, free: 3.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.1671, allocations: 122.2 kB / 482.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.1672, allocations: 41.69 kB / 482.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1674, allocations: 334.8 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.1676, allocations: 112.8 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.1679, allocations: 183.4 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.1685, allocations: 304.6 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1685, allocations: 0 / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006923/0.1692, allocations: 378.2 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1692, allocations: 8 kB / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1692, allocations: 224 / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1693, allocations: 8 kB / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.1698, allocations: 103.8 kB / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1698, allocations: 4 kB / 483.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1701, allocations: 47.52 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.1701, allocations: 19.98 kB / 483.6 MB, free: 1.609 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.0001727/0.1703, allocations: 145.7 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.1703, allocations: 39.61 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.171, allocations: 332.3 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1711, allocations: 4 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1711, allocations: 0 / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1711, allocations: 7.984 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.1716, allocations: 405.1 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1716, allocations: 0 / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.172, allocations: 87.88 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.172, allocations: 4 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.172, allocations: 4 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.172, allocations: 0 / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.172, allocations: 4 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.1729, allocations: 0.5311 MB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1731, allocations: 128.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.1731, allocations: 12.06 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.1734, allocations: 12 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.1734, allocations: 19.97 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1735, allocations: 15.92 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1737, allocations: 186 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1737, allocations: 3.938 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.174, allocations: 95.75 kB / 485.6 MB, free: 15.5 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.0001388/0.1742, allocations: 103.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.1748, allocations: 283.9 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1748, allocations: 4.438 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.1751, allocations: 135.9 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1755, allocations: 44.36 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.1771, allocations: 0.9624 MB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1775, allocations: 0.7874 MB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.1777, allocations: 38.94 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.1778, allocations: 27.44 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1778, allocations: 0 / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Templates: time 0.006484/0.1843, allocations: 2.449 MB / 490.4 MB, free: 10.64 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