Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001666/0.001666, allocations: 208.6 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.4 MB / 250 MB, free: 9.078 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.84 kB / 367.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2248, allocations: 53.31 MB / 420.7 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005613/0.2304, allocations: 4.351 MB / 425 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.2332, allocations: 1.72 MB / 426.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2334, allocations: 15.94 kB / 426.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.2357, allocations: 1.023 MB / 427.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.2362, allocations: 262.2 kB / 428 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.2377, allocations: 0.765 MB / 428.8 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.2383, allocations: 0.6299 MB / 429.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.239, allocations: 405.5 kB / 429.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.2393, allocations: 274.9 kB / 430.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.2397, allocations: 362.5 kB / 430.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-05/0.2398, allocations: 56 kB / 430.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.2403, allocations: 295.7 kB / 430.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.2404, allocations: 135.5 kB / 430.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.2407, allocations: 326.4 kB / 431.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2418, allocations: 0.9804 MB / 432.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2418, allocations: 0 / 432.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2418, allocations: 0 / 432.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.2418, allocations: 4 kB / 432.2 MB, free: 12.75 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003639/0.2455, allocations: 1.286 MB / 433.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2455, allocations: 8.031 kB / 433.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.2469, allocations: 208.3 kB / 433.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2472, allocations: 248.5 kB / 434 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.2472, allocations: 54.38 kB / 434 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.2474, allocations: 76.38 kB / 434.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.2487, allocations: 0.7701 MB / 434.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.2488, allocations: 7.953 kB / 434.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.2488, allocations: 28 kB / 434.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.2488, allocations: 24 kB / 434.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.2502, allocations: 0.661 MB / 435.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004393/0.2546, allocations: 3.254 MB / 438.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.257, allocations: 2.005 MB / 440.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.2576, allocations: 287.5 kB / 441.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.2578, allocations: 182.8 kB / 441.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.2578, allocations: 47.22 kB / 441.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 4.589e-06/0.2578, allocations: 4.203 kB / 441.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002604/0.2604, allocations: 1.13 MB / 442.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.2605, allocations: 115.4 kB / 442.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.2608, allocations: 278.5 kB / 442.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.2608, allocations: 37.7 kB / 442.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.261, allocations: 308.3 kB / 443.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.2612, allocations: 253.8 kB / 443.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.2614, allocations: 138.6 kB / 443.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2616, allocations: 354.7 kB / 443.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.2621, allocations: 230 kB / 444.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.2627, allocations: 382.3 kB / 444.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.2638, allocations: 0.6298 MB / 445.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2638, allocations: 4 kB / 445.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001606/0.2654, allocations: 0.8307 MB / 446 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2655, allocations: 6.812 kB / 446 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2655, allocations: 8 kB / 446 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/0.2659, allocations: 129.6 kB / 446.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.2665, allocations: 159.8 kB / 446.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.2702, allocations: 3.79 MB / 450.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.2707, allocations: 79.5 kB / 450.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.2707, allocations: 31.98 kB / 450.2 MB, free: 9.523 MB / 366.1 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.0002924/0.271, allocations: 201.6 kB / 450.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.2711, allocations: 43.72 kB / 450.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.2727, allocations: 0.7414 MB / 451.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.2727, allocations: 8 kB / 451.2 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2727, allocations: 4 kB / 451.2 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2728, allocations: 3.984 kB / 451.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.2753, allocations: 1.477 MB / 452.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2753, allocations: 0 / 452.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.2758, allocations: 115.9 kB / 452.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003024/0.2762, allocations: 113.6 kB / 452.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.2762, allocations: 19.98 kB / 452.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/0.2793, allocations: 3.35 MB / 456.3 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2793, allocations: 4.062 kB / 456.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.2812, allocations: 1.117 MB / 457.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2814, allocations: 128.7 kB / 457.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.2814, allocations: 15.98 kB / 457.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.2818, allocations: 27.98 kB / 457.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.2819, allocations: 56.52 kB / 457.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.282, allocations: 20.06 kB / 457.6 MB, free: 1.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.2822, allocations: 198 kB / 457.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2822, allocations: 0 / 457.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007997/0.283, allocations: 211.7 kB / 458 MB, free: 1.277 MB / 366.1 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.0002527/0.2832, allocations: 155 kB / 458.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.2848, allocations: 0.8452 MB / 459 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2848, allocations: 0 / 459 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.2856, allocations: 0.5322 MB / 459.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.2861, allocations: 52.48 kB / 459.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.2881, allocations: 1.114 MB / 460.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.2886, allocations: 0.8694 MB / 461.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.289, allocations: 76.36 kB / 461.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.2891, allocations: 43.42 kB / 461.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2891, allocations: 4 kB / 461.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01269/0.3018, allocations: 6.382 MB / 468.1 MB, free: 7.129 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches