Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009706/0.0009706, allocations: 97.08 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008607/0.0008608, allocations: 47.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1846, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003997/0.1886, allocations: 4.327 MB / 411.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1908, allocations: 1.712 MB / 413.1 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.191, allocations: 12 kB / 413.1 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.1928, allocations: 0.9608 MB / 414.1 MB, free: 20.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.1933, allocations: 214.7 kB / 414.3 MB, free: 20.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1945, allocations: 0.7437 MB / 415 MB, free: 19.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.1949, allocations: 0.626 MB / 415.7 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005686/0.1954, allocations: 469.7 kB / 416.1 MB, free: 18.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.1957, allocations: 262.9 kB / 416.4 MB, free: 18.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.196, allocations: 354.5 kB / 416.7 MB, free: 18.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.1961, allocations: 44 kB / 416.8 MB, free: 18.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.1965, allocations: 275.7 kB / 417 MB, free: 17.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.1966, allocations: 127.5 kB / 417.2 MB, free: 17.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.1968, allocations: 310.3 kB / 417.5 MB, free: 17.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.1974, allocations: 0.9554 MB / 418.4 MB, free: 16.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1974, allocations: 0 / 418.4 MB, free: 16.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1974, allocations: 0 / 418.4 MB, free: 16.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1974, allocations: 0 / 418.4 MB, free: 16.41 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.003047/0.2005, allocations: 1.268 MB / 419.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2005, allocations: 8.031 kB / 419.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.2017, allocations: 211.9 kB / 419.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2019, allocations: 244.3 kB / 420.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.2019, allocations: 54.38 kB / 420.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.202, allocations: 72.38 kB / 420.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.203, allocations: 0.774 MB / 421 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2031, allocations: 0 / 421 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.2031, allocations: 35.98 kB / 421.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2032, allocations: 23.94 kB / 421.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2043, allocations: 0.6625 MB / 421.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.2073, allocations: 3.277 MB / 425 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.209, allocations: 2.08 MB / 427.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.2095, allocations: 323.4 kB / 427.4 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.2097, allocations: 190.8 kB / 427.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2097, allocations: 43.22 kB / 427.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.434e-06/0.2097, allocations: 0 / 427.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002267/0.212, allocations: 1.137 MB / 428.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.212, allocations: 111.5 kB / 428.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.2122, allocations: 278.5 kB / 429.2 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.2123, allocations: 37.7 kB / 429.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2124, allocations: 295.4 kB / 429.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.2125, allocations: 244.4 kB / 429.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.2127, allocations: 134.6 kB / 429.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.2128, allocations: 358.7 kB / 430.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.2132, allocations: 229.9 kB / 430.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.2137, allocations: 382.3 kB / 430.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009312/0.2147, allocations: 0.6339 MB / 431.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2147, allocations: 4 kB / 431.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001332/0.216, allocations: 0.8421 MB / 432.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.216, allocations: 10.81 kB / 432.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2161, allocations: 4 kB / 432.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.2164, allocations: 129.7 kB / 432.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.217, allocations: 155.8 kB / 432.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.2198, allocations: 3.413 MB / 436 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.2203, allocations: 87.23 kB / 436.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.2203, allocations: 35.98 kB / 436.1 MB, free: 13.45 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002552/0.2206, allocations: 198.2 kB / 436.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2207, allocations: 39.53 kB / 436.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.2222, allocations: 0.753 MB / 437.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2223, allocations: 8 kB / 437.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2223, allocations: 0 / 437.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2223, allocations: 3.984 kB / 437.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.2247, allocations: 1.501 MB / 438.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2247, allocations: 0 / 438.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.2252, allocations: 119.8 kB / 438.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.2255, allocations: 113.6 kB / 438.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.2255, allocations: 19.98 kB / 438.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.2279, allocations: 3.101 MB / 442 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2279, allocations: 0 / 442 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.231, allocations: 2.343 MB / 444.3 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.2311, allocations: 128.4 kB / 444.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.2311, allocations: 12 kB / 444.5 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.2315, allocations: 23.98 kB / 444.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.2316, allocations: 52.58 kB / 444.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.2317, allocations: 27.92 kB / 444.6 MB, free: 4.496 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.2319, allocations: 190 kB / 444.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2319, allocations: 4.062 kB / 444.7 MB, free: 4.305 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008223/0.2327, allocations: 235.5 kB / 445 MB, free: 4.074 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002546/0.233, allocations: 151.1 kB / 445.1 MB, free: 3.918 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.2345, allocations: 0.8874 MB / 446 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2345, allocations: 3.938 kB / 446 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.2352, allocations: 0.5642 MB / 446.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.2358, allocations: 35.56 kB / 446.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.238, allocations: 1.755 MB / 448.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.2384, allocations: 0.8849 MB / 449.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.2388, allocations: 84.3 kB / 449.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.239, allocations: 47.42 kB / 449.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.239, allocations: 0 / 449.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of Templates: time 0.01097/0.25, allocations: 6.123 MB / 455.5 MB, free: 9.438 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches