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.001088/0.001088, allocations: 97.77 kB / 16.99 MB, free: 5.941 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.0009456/0.000946, allocations: 183.2 kB / 17.88 MB, free: 5.609 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.404/1.404, allocations: 223.2 MB / 241.8 MB, free: 360 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.2213/0.2213, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 61.91 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003038/0.1473, allocations: 1.956 MB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1485, allocations: 0.729 MB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1487, allocations: 4 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.1489, allocations: 43.69 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1491, allocations: 91.75 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1494, allocations: 75.84 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.1497, allocations: 215.5 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.1499, allocations: 76.98 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.1502, allocations: 119.5 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1504, allocations: 131.4 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.1504, allocations: 16 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.1505, allocations: 16 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.1505, allocations: 51.77 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.389e-05/0.1506, allocations: 73.58 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.1509, allocations: 271.5 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1509, allocations: 0 / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1509, allocations: 0 / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1509, allocations: 0 / 475.3 MB, free: 9.875 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.001079/0.152, allocations: 0.5689 MB / 475.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.152, allocations: 8.031 kB / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/0.1521, allocations: 35.62 kB / 475.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.1525, allocations: 258.4 kB / 476.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1525, allocations: 16.56 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.1525, allocations: 23.98 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.1531, allocations: 248.8 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1531, allocations: 0 / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1531, allocations: 12 kB / 476.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1531, allocations: 8 kB / 476.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.1536, allocations: 238.1 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.1551, allocations: 0.8832 MB / 477.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.1559, allocations: 347.3 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.156, allocations: 4 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.156, allocations: 34.56 kB / 478 MB, free: 7.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.156, allocations: 4 kB / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00463/0.1607, allocations: 1.262 MB / 479.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1607, allocations: 55.39 kB / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.161, allocations: 217 kB / 479.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.161, allocations: 29.7 kB / 479.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1611, allocations: 153.2 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.1612, allocations: 114.4 kB / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.1612, allocations: 11.94 kB / 479.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1614, allocations: 338.8 kB / 480.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.1616, allocations: 91.95 kB / 480.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.1619, allocations: 129.9 kB / 480.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1621, allocations: 109.3 kB / 480.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1621, allocations: 0 / 480.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001708/0.1638, allocations: 0.5493 MB / 481 MB, free: 3.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.1639, allocations: 4 kB / 481 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1639, allocations: 0 / 481 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.1655, allocations: 315.1 kB / 481.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1657, allocations: 31.92 kB / 481.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007317/0.173, allocations: 6.412 MB / 487.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1733, allocations: 23.91 kB / 487.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1733, allocations: 12 kB / 487.8 MB, free: 12.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.1735, allocations: 137.8 kB / 487.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.1736, allocations: 27.67 kB / 487.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.1753, allocations: 0.558 MB / 488.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1753, allocations: 3.938 kB / 488.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1753, allocations: 4.375 kB / 488.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1753, allocations: 7.984 kB / 488.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.1758, allocations: 353.2 kB / 488.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1758, allocations: 3.938 kB / 488.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1759, allocations: 27.91 kB / 488.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.1774, allocations: 315.1 kB / 489.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.1774, allocations: 4 kB / 489.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007102/0.1845, allocations: 6.444 MB / 495.7 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1846, allocations: 0 / 495.7 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.1863, allocations: 0.6312 MB / 496.3 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.1864, allocations: 96.77 kB / 496.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1864, allocations: 8 kB / 496.4 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1866, allocations: 15.98 kB / 496.4 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1868, allocations: 31.95 kB / 496.4 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1868, allocations: 4 kB / 496.4 MB, free: 3.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.187, allocations: 164.5 kB / 496.6 MB, free: 3.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.187, allocations: 0 / 496.6 MB, free: 3.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005361/0.1875, allocations: 119.8 kB / 496.7 MB, free: 2.902 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.1876, allocations: 95.52 kB / 496.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.1889, allocations: 0.7562 MB / 497.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1889, allocations: 0 / 497.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.1901, allocations: 0.725 MB / 498.3 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1904, allocations: 24.38 kB / 498.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009717/0.1914, allocations: 0.6392 MB / 499 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1918, allocations: 0.7794 MB / 499.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.1918, allocations: 17.94 kB / 499.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.1919, allocations: 11.44 kB / 499.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1919, allocations: 0 / 499.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of Templates: time 0.01247/0.2044, allocations: 7.205 MB / 0.4951 GB, free: 8.512 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches