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.0008297/0.0008297, allocations: 97.03 kB / 18.01 MB, free: 5.734 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.0007937/0.0007936, allocations: 178.8 kB / 18.91 MB, free: 4.871 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.337/1.337, allocations: 223.3 MB / 243 MB, free: 216 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.207/0.207, allocations: 44.25 MB / 338.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003687, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002957/0.1288, allocations: 2.115 MB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1303, allocations: 0.7596 MB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.1305, allocations: 4 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.1308, allocations: 43.7 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.1312, allocations: 87.42 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1315, allocations: 83.92 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.132, allocations: 322.8 kB / 476.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.1322, allocations: 88.97 kB / 476.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1325, allocations: 119.5 kB / 476.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.1328, allocations: 143.3 kB / 476.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.1328, allocations: 12 kB / 476.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.1329, allocations: 16 kB / 476.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.133, allocations: 51.77 kB / 476.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.1331, allocations: 153 kB / 476.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1334, allocations: 263.5 kB / 477.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1334, allocations: 0 / 477.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1334, allocations: 3.984 kB / 477.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1334, allocations: 0 / 477.2 MB, free: 9.074 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.001053/0.1345, allocations: 0.573 MB / 477.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1345, allocations: 8.031 kB / 477.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1346, allocations: 32.56 kB / 477.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.135, allocations: 267.5 kB / 478 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.135, allocations: 24.88 kB / 478.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.1351, allocations: 24.38 kB / 478.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.1357, allocations: 253.2 kB / 478.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1357, allocations: 0 / 478.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.1357, allocations: 12 kB / 478.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1358, allocations: 4 kB / 478.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/0.1363, allocations: 238.1 kB / 478.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.1379, allocations: 0.8793 MB / 479.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.1385, allocations: 302.7 kB / 479.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.1388, allocations: 153.3 kB / 479.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.1388, allocations: 7.984 kB / 479.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1389, allocations: 42.5 kB / 479.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.1389, allocations: 0 / 479.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004562/0.1434, allocations: 1.273 MB / 481.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1435, allocations: 51.41 kB / 481.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.1438, allocations: 213 kB / 481.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1438, allocations: 29.7 kB / 481.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1439, allocations: 165.1 kB / 481.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.782e-05/0.144, allocations: 110.4 kB / 481.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.1441, allocations: 29.7 kB / 481.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1443, allocations: 338.8 kB / 482.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.1446, allocations: 95.95 kB / 482.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.1448, allocations: 133.9 kB / 482.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.1453, allocations: 235.3 kB / 482.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1453, allocations: 3.938 kB / 482.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001824/0.1472, allocations: 0.5567 MB / 483.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.1472, allocations: 14.48 kB / 483.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1472, allocations: 0 / 483.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.1489, allocations: 315.1 kB / 483.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1491, allocations: 31.97 kB / 483.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007495/0.1566, allocations: 6.332 MB / 489.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.1569, allocations: 27.78 kB / 489.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.1569, allocations: 15.98 kB / 489.9 MB, free: 11.45 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.0001869/0.1571, allocations: 141.8 kB / 490 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.1572, allocations: 23.72 kB / 490 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.1591, allocations: 0.5619 MB / 490.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1591, allocations: 4 kB / 490.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1591, allocations: 3.938 kB / 490.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1591, allocations: 3.984 kB / 490.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.1596, allocations: 345.3 kB / 491 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1596, allocations: 4 kB / 491 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.1597, allocations: 31.91 kB / 491 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.1613, allocations: 315.3 kB / 491.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.1613, allocations: 4 kB / 491.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007417/0.1687, allocations: 6.373 MB / 497.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1687, allocations: 0 / 497.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.1705, allocations: 0.6399 MB / 498.3 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.1706, allocations: 96.77 kB / 498.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.1707, allocations: 8 kB / 498.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.1709, allocations: 19.98 kB / 498.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.171, allocations: 35.89 kB / 498.5 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.171, allocations: 7.938 kB / 498.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1712, allocations: 164.5 kB / 498.6 MB, free: 2.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1712, allocations: 0 / 498.6 MB, free: 2.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005799/0.1718, allocations: 115.8 kB / 498.8 MB, free: 1.914 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.0001339/0.1719, allocations: 103.2 kB / 498.9 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.1732, allocations: 0.7523 MB / 499.6 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1732, allocations: 0 / 499.6 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.1745, allocations: 0.7172 MB / 0.4886 GB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1748, allocations: 26.95 kB / 0.4886 GB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1761, allocations: 0.6953 MB / 0.4893 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.1765, allocations: 0.7717 MB / 0.4901 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.1765, allocations: 11.44 kB / 0.4901 GB, free: 14.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1765, allocations: 4 kB / 0.4901 GB, free: 14.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01126/0.1878, allocations: 7.942 MB / 0.4978 GB, free: 6.715 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 -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