Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 103.2 kB / 18.4 MB, free: 4.695 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.001012/0.001012, allocations: 188 kB / 19.33 MB, free: 3.77 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.44/1.44, allocations: 222.9 MB / 243 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 69.42 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1511, allocations: 60.81 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.00516/0.1564, allocations: 2.439 MB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1581, allocations: 0.7711 MB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1584, allocations: 4 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.1587, allocations: 51.52 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.1593, allocations: 99.23 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1597, allocations: 99.88 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005606/0.1603, allocations: 350.7 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.1605, allocations: 100.5 kB / 474.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.1609, allocations: 131.6 kB / 474.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.1612, allocations: 159.3 kB / 474.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.1613, allocations: 28 kB / 474.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.652e-05/0.1614, allocations: 32 kB / 475 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.1614, allocations: 63.77 kB / 475 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.1616, allocations: 151.2 kB / 475.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.1621, allocations: 362.7 kB / 475.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.1621, allocations: 4 kB / 475.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.179e-06/0.1621, allocations: 0 / 475.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.1621, allocations: 3.938 kB / 475.5 MB, free: 8.801 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001393/0.1635, allocations: 0.6119 MB / 476.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1636, allocations: 8.031 kB / 476.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.1637, allocations: 32.56 kB / 476.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.1641, allocations: 263.7 kB / 476.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.1641, allocations: 16.94 kB / 476.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.1642, allocations: 24.38 kB / 476.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.1647, allocations: 245.2 kB / 476.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1648, allocations: 7.875 kB / 476.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.1648, allocations: 12 kB / 476.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1648, allocations: 7.984 kB / 476.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.1653, allocations: 238.1 kB / 477 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.1669, allocations: 0.8635 MB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.1674, allocations: 298.7 kB / 478.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.1677, allocations: 144.8 kB / 478.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.1678, allocations: 7.984 kB / 478.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1678, allocations: 38.5 kB / 478.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.1678, allocations: 0 / 478.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004504/0.1723, allocations: 1.262 MB / 479.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1724, allocations: 59.34 kB / 479.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1726, allocations: 209 kB / 479.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1727, allocations: 33.7 kB / 479.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1728, allocations: 169.1 kB / 480 MB, free: 3.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.23e-05/0.1729, allocations: 102.4 kB / 480.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.173, allocations: 49.7 kB / 480.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1731, allocations: 334.8 kB / 480.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.1733, allocations: 91.95 kB / 480.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.1735, allocations: 117.9 kB / 480.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.174, allocations: 235.3 kB / 481 MB, free: 3.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.174, allocations: 4 kB / 481 MB, free: 3.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001753/0.1757, allocations: 0.5488 MB / 481.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1758, allocations: 4 kB / 481.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1758, allocations: 0 / 481.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.1774, allocations: 307.2 kB / 481.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.1776, allocations: 23.97 kB / 481.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007487/0.1851, allocations: 6.829 MB / 488.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.1854, allocations: 23.78 kB / 488.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.1854, allocations: 19.92 kB / 488.7 MB, free: 10.7 MB / 366.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.0001637/0.1856, allocations: 142 kB / 488.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.1857, allocations: 23.72 kB / 488.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.1874, allocations: 0.5473 MB / 489.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1874, allocations: 8 kB / 489.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1874, allocations: 7.938 kB / 489.4 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1874, allocations: 3.984 kB / 489.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1878, allocations: 357.2 kB / 489.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1878, allocations: 0 / 489.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.188, allocations: 19.97 kB / 489.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/0.1895, allocations: 315.1 kB / 490.1 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1895, allocations: 4 kB / 490.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007354/0.1968, allocations: 6.881 MB / 497 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1969, allocations: 4.031 kB / 497 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.1987, allocations: 0.6156 MB / 497.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1988, allocations: 120.6 kB / 497.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1988, allocations: 4.25 kB / 497.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.199, allocations: 12 kB / 497.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.1992, allocations: 31.95 kB / 497.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1992, allocations: 4 kB / 497.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1994, allocations: 160.5 kB / 497.9 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1994, allocations: 0 / 497.9 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006167/0.2, allocations: 123.8 kB / 498.1 MB, free: 0.6523 MB / 366.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.0001516/0.2002, allocations: 103.2 kB / 498.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2013, allocations: 0.7603 MB / 498.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2014, allocations: 0 / 498.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.2026, allocations: 0.7212 MB / 499.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.203, allocations: 28.38 kB / 499.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.2039, allocations: 0.5445 MB / 0.4885 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.2043, allocations: 0.7717 MB / 0.4892 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.2044, allocations: 13.95 kB / 0.4893 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.2044, allocations: 15.44 kB / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2044, allocations: 0 / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of Templates: time 0.01389/0.2183, allocations: 8.031 MB / 0.4971 GB, free: 5.52 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches