Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 195.8 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.6 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007684/0.0007683, allocations: 105.1 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002058/0.0002058, allocations: 4 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1849, allocations: 51.3 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003018/0.188, allocations: 3.7 MB / 411.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1899, allocations: 1.566 MB / 413.3 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.1901, allocations: 15.94 kB / 413.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.1905, allocations: 167.2 kB / 413.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.1909, allocations: 208.8 kB / 413.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1919, allocations: 0.6266 MB / 414.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.1923, allocations: 0.5907 MB / 414.9 MB, free: 20.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.1935, allocations: 0.8884 MB / 415.8 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.1938, allocations: 227.1 kB / 416 MB, free: 19.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.194, allocations: 306.8 kB / 416.3 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.1941, allocations: 28 kB / 416.4 MB, free: 19.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.1945, allocations: 251.7 kB / 416.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.1946, allocations: 103.5 kB / 416.7 MB, free: 19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1947, allocations: 308.3 kB / 417 MB, free: 18.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.1952, allocations: 0.7332 MB / 417.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1952, allocations: 0 / 417.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1953, allocations: 0 / 417.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1953, allocations: 0 / 417.7 MB, free: 17.96 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002929/0.1982, allocations: 1.155 MB / 418.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1982, allocations: 12.03 kB / 418.9 MB, free: 16.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.1994, allocations: 207.9 kB / 419.1 MB, free: 16.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1996, allocations: 252.3 kB / 419.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.1996, allocations: 54.38 kB / 419.4 MB, free: 16.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.1997, allocations: 72.38 kB / 419.5 MB, free: 16.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.2008, allocations: 0.7779 MB / 420.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.2009, allocations: 7.984 kB / 420.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.2009, allocations: 28 kB / 420.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.201, allocations: 20 kB / 420.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.2021, allocations: 0.6767 MB / 421 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.2053, allocations: 3.281 MB / 424.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.207, allocations: 2.083 MB / 426.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.2076, allocations: 333.7 kB / 426.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.2077, allocations: 182.8 kB / 426.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2078, allocations: 39.22 kB / 426.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.848e-06/0.2078, allocations: 0 / 426.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002313/0.2101, allocations: 1.173 MB / 428.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2102, allocations: 123.5 kB / 428.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.2104, allocations: 270.4 kB / 428.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2104, allocations: 41.7 kB / 428.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2105, allocations: 291.4 kB / 428.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.2106, allocations: 248.4 kB / 429 MB, free: 5.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.2107, allocations: 16 kB / 429 MB, free: 5.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.2107, allocations: 350.7 kB / 429.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.2112, allocations: 241.9 kB / 429.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.2117, allocations: 390.2 kB / 430 MB, free: 4.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.2127, allocations: 0.6455 MB / 430.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2127, allocations: 11.94 kB / 430.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001362/0.214, allocations: 0.8462 MB / 431.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2141, allocations: 8 kB / 431.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2141, allocations: 4 kB / 431.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.2144, allocations: 121.7 kB / 431.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.215, allocations: 167.7 kB / 431.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.2175, allocations: 3.412 MB / 435.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.2181, allocations: 99.16 kB / 435.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.2181, allocations: 28 kB / 435.3 MB, free: 15.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.2184, allocations: 213.5 kB / 435.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.2185, allocations: 39.53 kB / 435.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.22, allocations: 0.757 MB / 436.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2201, allocations: 8 kB / 436.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2201, allocations: 4 kB / 436.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2201, allocations: 3.984 kB / 436.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.2225, allocations: 1.512 MB / 437.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.2226, allocations: 4 kB / 437.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.2231, allocations: 115.8 kB / 438 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002865/0.2234, allocations: 113.6 kB / 438.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.2234, allocations: 15.98 kB / 438.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.2259, allocations: 3.118 MB / 441.2 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2259, allocations: 4.031 kB / 441.2 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.2278, allocations: 1.152 MB / 442.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.228, allocations: 124.5 kB / 442.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.228, allocations: 16 kB / 442.5 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.2284, allocations: 35.97 kB / 442.6 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.2285, allocations: 52.58 kB / 442.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.2286, allocations: 20.06 kB / 442.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.2288, allocations: 190 kB / 442.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2288, allocations: 3.938 kB / 442.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007843/0.2296, allocations: 219.5 kB / 443 MB, free: 7.023 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000275/0.2299, allocations: 151 kB / 443.2 MB, free: 6.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.2314, allocations: 0.903 MB / 444.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2315, allocations: 0 / 444.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007767/0.2322, allocations: 0.5721 MB / 444.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.2327, allocations: 46.34 kB / 444.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.2348, allocations: 1.404 MB / 446.1 MB, free: 3.863 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.2352, allocations: 0.8654 MB / 447 MB, free: 2.973 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.2354, allocations: 55.41 kB / 447 MB, free: 2.918 MB / 314.7 MB Notification: Performance of SimCode: time 1.793e-06/0.2354, allocations: 0 / 447 MB, free: 2.918 MB / 314.7 MB Notification: Performance of Templates: time 0.01258/0.248, allocations: 11.45 MB / 458.5 MB, free: 7.473 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches