Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.001663/0.001663, allocations: 124 kB / 18.46 MB, free: 4.578 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.002113/0.002113, allocations: 209.6 kB / 21.42 MB, free: 1.625 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.512/1.512, allocations: 230.6 MB / 254.8 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.2797/0.2797, allocations: 46.92 MB / 357.8 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.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 63.91 kB / 0.4921 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1463, allocations: 66 MB / 0.5565 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004405/0.1507, allocations: 2.502 MB / 0.559 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1522, allocations: 0.8334 MB / 0.5598 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.1523, allocations: 4 kB / 0.5598 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1525, allocations: 59.45 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1528, allocations: 103.2 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1531, allocations: 111.8 kB / 0.56 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.1535, allocations: 358.8 kB / 0.5604 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.1537, allocations: 68.72 kB / 0.5604 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1539, allocations: 143.5 kB / 0.5606 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1541, allocations: 163.2 kB / 0.5607 GB, free: 1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.1542, allocations: 28 kB / 0.5608 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.1542, allocations: 32 kB / 0.5608 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.1543, allocations: 67.75 kB / 0.5609 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.1545, allocations: 167.1 kB / 0.561 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.1549, allocations: 374.4 kB / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1549, allocations: 0 / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1549, allocations: 0 / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1549, allocations: 0 / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001173/0.1561, allocations: 0.6311 MB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1561, allocations: 16.02 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.1563, allocations: 40.7 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1566, allocations: 270.8 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1567, allocations: 16.94 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.1567, allocations: 32.31 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.1572, allocations: 257.1 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1573, allocations: 0 / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.1573, allocations: 8 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1573, allocations: 8 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.1578, allocations: 234.1 kB / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.1594, allocations: 0.8717 MB / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.16, allocations: 294.6 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.1602, allocations: 124.8 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.1603, allocations: 4 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1603, allocations: 34.56 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.1603, allocations: 0 / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.004827/0.1651, allocations: 1.266 MB / 0.5654 GB, free: 11.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1652, allocations: 55.41 kB / 0.5654 GB, free: 11.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1655, allocations: 233 kB / 0.5656 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1655, allocations: 29.7 kB / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1656, allocations: 169.3 kB / 0.5658 GB, free: 11.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.1657, allocations: 107.1 kB / 0.5659 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1658, allocations: 53.7 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.166, allocations: 334.8 kB / 0.5663 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.1662, allocations: 91.95 kB / 0.5664 GB, free: 10.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.1665, allocations: 121.8 kB / 0.5665 GB, free: 10.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.167, allocations: 239.2 kB / 0.5667 GB, free: 10.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.167, allocations: 0 / 0.5667 GB, free: 10.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0019/0.1689, allocations: 0.5489 MB / 0.5673 GB, free: 9.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1689, allocations: 4 kB / 0.5673 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1689, allocations: 4 kB / 0.5673 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.1707, allocations: 311.1 kB / 0.5676 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.1708, allocations: 23.98 kB / 0.5676 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008504/0.1793, allocations: 6.859 MB / 0.5743 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.1796, allocations: 27.84 kB / 0.5743 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.1796, allocations: 8 kB / 0.5743 GB, free: 2.148 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.1798, allocations: 141.8 kB / 0.5745 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.1799, allocations: 27.81 kB / 0.5745 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.1817, allocations: 0.5473 MB / 0.575 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1817, allocations: 4 kB / 0.575 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1817, allocations: 7.938 kB / 0.575 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1817, allocations: 0 / 0.575 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.1822, allocations: 361.3 kB / 0.5754 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1822, allocations: 0 / 0.5754 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.1823, allocations: 23.97 kB / 0.5754 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.1839, allocations: 315.2 kB / 0.5757 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1839, allocations: 8 kB / 0.5757 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008548/0.1925, allocations: 6.898 MB / 0.5824 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1925, allocations: 0 / 0.5824 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.1945, allocations: 0.6196 MB / 0.583 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1946, allocations: 108.8 kB / 0.5832 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1946, allocations: 7.984 kB / 0.5832 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.1948, allocations: 8 kB / 0.5832 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.195, allocations: 35.95 kB / 0.5832 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.195, allocations: 4 kB / 0.5832 GB, free: 8.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.1952, allocations: 181.8 kB / 0.5834 GB, free: 8.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1952, allocations: 0 / 0.5834 GB, free: 8.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005881/0.1958, allocations: 119.9 kB / 0.5835 GB, free: 8.062 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.1959, allocations: 103.2 kB / 0.5836 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.1972, allocations: 0.7486 MB / 0.5843 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1972, allocations: 0 / 0.5843 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.1986, allocations: 0.7172 MB / 0.585 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.199, allocations: 28.53 kB / 0.5851 GB, free: 6.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2002, allocations: 0.6185 MB / 0.5857 GB, free: 5.703 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.2007, allocations: 0.7756 MB / 0.5864 GB, free: 4.898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.2008, allocations: 15.44 kB / 0.5864 GB, free: 4.883 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2008, allocations: 0 / 0.5864 GB, free: 4.883 MB / 446.1 MB Notification: Performance of Templates: time 0.2802/0.4809, allocations: 8.348 MB / 0.5946 GB, free: 34.18 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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: 8.939706486999057]