Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 97.17 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 204.3 kB / 17.9 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 63.45 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002713/0.1662, allocations: 2.004 MB / 483.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1674, allocations: 0.7874 MB / 484.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1676, allocations: 0 / 484.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.1677, allocations: 43.69 kB / 484.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.1681, allocations: 103.7 kB / 484.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1683, allocations: 75.84 kB / 484.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.1686, allocations: 215.6 kB / 484.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.1688, allocations: 88.48 kB / 484.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.169, allocations: 115.6 kB / 484.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1692, allocations: 139.4 kB / 484.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.1692, allocations: 16 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.1693, allocations: 19.94 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.1694, allocations: 55.75 kB / 485 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.1694, allocations: 73.58 kB / 485.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.1698, allocations: 279.5 kB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1698, allocations: 0 / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1698, allocations: 0 / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.1698, allocations: 3.938 kB / 485.4 MB, free: 1.398 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.001027/0.1709, allocations: 0.5883 MB / 486 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1709, allocations: 8.031 kB / 486 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.1711, allocations: 39.62 kB / 486 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1714, allocations: 249.6 kB / 486.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1714, allocations: 24.56 kB / 486.3 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.1715, allocations: 24 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.1719, allocations: 248.8 kB / 486.6 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.172, allocations: 3.938 kB / 486.6 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.172, allocations: 8 kB / 486.6 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.172, allocations: 8 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.1725, allocations: 242.1 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.174, allocations: 0.8831 MB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008017/0.1748, allocations: 349.4 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1749, allocations: 7.938 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1749, allocations: 38.5 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.1749, allocations: 0 / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004385/0.1793, allocations: 1.263 MB / 489.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1794, allocations: 59.34 kB / 489.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1796, allocations: 229 kB / 489.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1796, allocations: 37.64 kB / 489.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1798, allocations: 165.1 kB / 489.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.1798, allocations: 106.5 kB / 489.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.1799, allocations: 4 kB / 489.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.18, allocations: 342.8 kB / 490.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1802, allocations: 95.81 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.1805, allocations: 129.8 kB / 490.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1807, allocations: 114.2 kB / 490.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1807, allocations: 4 kB / 490.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001765/0.1825, allocations: 0.5531 MB / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1825, allocations: 4 kB / 491.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.1826, allocations: 4 kB / 491.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.1842, allocations: 323.1 kB / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1843, allocations: 27.98 kB / 491.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/0.1915, allocations: 6.407 MB / 497.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.1917, allocations: 39.77 kB / 497.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1918, allocations: 4 kB / 498 MB, free: 3.938 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.0001977/0.192, allocations: 150.7 kB / 498.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.192, allocations: 27.7 kB / 498.1 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.1938, allocations: 0.5657 MB / 498.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1939, allocations: 0 / 498.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.1939, allocations: 4 kB / 498.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1939, allocations: 7.984 kB / 498.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.1944, allocations: 361.6 kB / 499.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1944, allocations: 0 / 499.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1945, allocations: 27.92 kB / 499.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.196, allocations: 315.1 kB / 499.4 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.196, allocations: 4 kB / 499.4 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007185/0.2032, allocations: 6.452 MB / 0.494 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2033, allocations: 3.984 kB / 0.494 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.2052, allocations: 0.6426 MB / 0.4946 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/0.2053, allocations: 100.8 kB / 0.4947 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.2053, allocations: 7.984 kB / 0.4947 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.2055, allocations: 15.98 kB / 0.4947 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.2057, allocations: 35.91 kB / 0.4948 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.2057, allocations: 4 kB / 0.4948 GB, free: 10.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.2059, allocations: 170 kB / 0.4949 GB, free: 10.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2059, allocations: 4 kB / 0.4949 GB, free: 10.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000583/0.2065, allocations: 123.8 kB / 0.4951 GB, free: 10.27 MB / 382.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.0001635/0.2067, allocations: 99.72 kB / 0.4952 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.2079, allocations: 0.7562 MB / 0.4959 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2079, allocations: 0 / 0.4959 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.2092, allocations: 0.7251 MB / 0.4966 GB, free: 8.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.2095, allocations: 16.5 kB / 0.4966 GB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2107, allocations: 0.6612 MB / 0.4973 GB, free: 7.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.2112, allocations: 0.7911 MB / 0.498 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.485e-05/0.2113, allocations: 5.969 kB / 0.498 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.2113, allocations: 11.44 kB / 0.4981 GB, free: 7.043 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2113, allocations: 0 / 0.4981 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Templates: time 0.261/0.4724, allocations: 7.258 MB / 0.5051 GB, free: 40.71 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches