Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.91 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1614, allocations: 65.99 MB / 0.5558 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004632/0.166, allocations: 3.025 MB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1675, allocations: 0.7828 MB / 0.5596 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.1677, allocations: 4 kB / 0.5596 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1679, allocations: 59.38 kB / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1681, allocations: 107 kB / 0.5597 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1684, allocations: 111.8 kB / 0.5598 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.169, allocations: 486.5 kB / 0.5603 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.1692, allocations: 112 kB / 0.5604 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.1695, allocations: 195.3 kB / 0.5606 GB, free: 460 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.1698, allocations: 207.1 kB / 0.5608 GB, free: 252 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.1699, allocations: 44 kB / 0.5608 GB, free: 208 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-05/0.17, allocations: 40 kB / 0.5609 GB, free: 168 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.1701, allocations: 91.67 kB / 0.5609 GB, free: 76 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.1703, allocations: 203 kB / 0.5611 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.1709, allocations: 473.9 kB / 0.5616 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1709, allocations: 0 / 0.5616 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1709, allocations: 0 / 0.5616 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1709, allocations: 4 kB / 0.5616 GB, free: 15.41 MB / 430.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.001485/0.1724, allocations: 0.7093 MB / 0.5623 GB, free: 14.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1724, allocations: 17.09 kB / 0.5623 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.1727, allocations: 52.66 kB / 0.5624 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1731, allocations: 295.5 kB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.1731, allocations: 29.38 kB / 0.5627 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.1732, allocations: 40.38 kB / 0.5627 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.1739, allocations: 346.7 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1739, allocations: 0 / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.174, allocations: 16 kB / 0.5631 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.174, allocations: 12 kB / 0.5631 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.1747, allocations: 303.8 kB / 0.5634 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.177, allocations: 1.341 MB / 0.5647 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.1776, allocations: 255.2 kB / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.1779, allocations: 137.4 kB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.1779, allocations: 4.281 kB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.178, allocations: 34.84 kB / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.302e-06/0.178, allocations: 7.938 kB / 0.5651 GB, free: 11.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009384/0.1789, allocations: 379.4 kB / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.179, allocations: 59.34 kB / 0.5655 GB, free: 11.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.1793, allocations: 258.7 kB / 0.5657 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1793, allocations: 37.69 kB / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1795, allocations: 212.2 kB / 0.566 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.1796, allocations: 123 kB / 0.5661 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.1798, allocations: 70.08 kB / 0.5662 GB, free: 10.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1799, allocations: 338.8 kB / 0.5665 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.1802, allocations: 100.8 kB / 0.5666 GB, free: 10.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.1805, allocations: 175.5 kB / 0.5668 GB, free: 9.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.1811, allocations: 288.6 kB / 0.567 GB, free: 9.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1811, allocations: 3.938 kB / 0.567 GB, free: 9.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007361/0.1818, allocations: 370.3 kB / 0.5674 GB, free: 9.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1818, allocations: 12.22 kB / 0.5674 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1818, allocations: 0 / 0.5674 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1819, allocations: 4 kB / 0.5674 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.1824, allocations: 103.9 kB / 0.5675 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1824, allocations: 4 kB / 0.5675 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.1827, allocations: 47.66 kB / 0.5676 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.1827, allocations: 12 kB / 0.5676 GB, free: 8.984 MB / 430.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.0001744/0.1829, allocations: 155.8 kB / 0.5677 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.1829, allocations: 35.81 kB / 0.5677 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/0.1836, allocations: 320.2 kB / 0.5681 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1836, allocations: 7.984 kB / 0.5681 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1837, allocations: 0 / 0.5681 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1837, allocations: 0 / 0.5681 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.1842, allocations: 417.1 kB / 0.5685 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1842, allocations: 0 / 0.5685 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.1846, allocations: 87.89 kB / 0.5685 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1846, allocations: 3.984 kB / 0.5685 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.1846, allocations: 11.98 kB / 0.5686 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.1847, allocations: 4 kB / 0.5686 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1847, allocations: 0 / 0.5686 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.1856, allocations: 0.5145 MB / 0.5691 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1858, allocations: 124.9 kB / 0.5692 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.1858, allocations: 12 kB / 0.5692 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.186, allocations: 11.98 kB / 0.5692 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.1861, allocations: 19.97 kB / 0.5692 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1861, allocations: 8 kB / 0.5692 GB, free: 7.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.1863, allocations: 193.9 kB / 0.5694 GB, free: 6.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1863, allocations: 4 kB / 0.5694 GB, free: 6.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000372/0.1867, allocations: 95.78 kB / 0.5695 GB, free: 6.883 MB / 430.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.0001387/0.1869, allocations: 107.2 kB / 0.5696 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.1875, allocations: 259.9 kB / 0.5699 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1875, allocations: 0 / 0.5699 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.1877, allocations: 128.3 kB / 0.57 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1881, allocations: 32.94 kB / 0.57 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1895, allocations: 0.7623 MB / 0.5708 GB, free: 5.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.19, allocations: 0.7835 MB / 0.5715 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.1901, allocations: 38.94 kB / 0.5716 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.1902, allocations: 27.44 kB / 0.5716 GB, free: 4.695 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1902, allocations: 3.938 kB / 0.5716 GB, free: 4.691 MB / 430.1 MB Notification: Performance of Templates: time 0.007723/0.198, allocations: 2.747 MB / 0.5743 GB, free: 1.969 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.505320850759745]