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.001531/0.001531, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 207.6 kB / 19.41 MB, free: 3.645 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.404/1.404, allocations: 227.7 MB / 247.9 MB, free: 10.21 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.00191/0.00191, allocations: 63.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2211, allocations: 50.54 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005639/0.2268, allocations: 4.347 MB / 414.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.2294, allocations: 1.716 MB / 416.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.2295, allocations: 12 kB / 416.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.2318, allocations: 1.022 MB / 417.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.2323, allocations: 258.1 kB / 417.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.2337, allocations: 0.7652 MB / 418.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006235/0.2344, allocations: 0.6338 MB / 419 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006284/0.235, allocations: 405.5 kB / 419.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.2353, allocations: 275 kB / 419.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.2357, allocations: 358.5 kB / 420 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.2358, allocations: 56 kB / 420 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.2363, allocations: 291.7 kB / 420.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2364, allocations: 143.5 kB / 420.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.2367, allocations: 322.4 kB / 420.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2378, allocations: 0.9843 MB / 421.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2378, allocations: 0 / 421.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2378, allocations: 0 / 421.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2378, allocations: 0 / 421.8 MB, free: 5.855 MB / 334.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.003739/0.2415, allocations: 1.283 MB / 423 MB, free: 4.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2415, allocations: 12.03 kB / 423 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.243, allocations: 208.3 kB / 423.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.2432, allocations: 247.5 kB / 423.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.2433, allocations: 58.38 kB / 423.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.2434, allocations: 76.31 kB / 423.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2447, allocations: 0.7663 MB / 424.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.2448, allocations: 7.953 kB / 424.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.2448, allocations: 28 kB / 424.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.2449, allocations: 20 kB / 424.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.2462, allocations: 0.6649 MB / 425.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.2506, allocations: 3.246 MB / 428.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.2532, allocations: 2.024 MB / 430.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006639/0.2538, allocations: 284.2 kB / 430.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.254, allocations: 182.8 kB / 430.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.254, allocations: 47.44 kB / 430.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.864e-06/0.254, allocations: 0 / 430.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002701/0.2567, allocations: 1.126 MB / 432 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2568, allocations: 115.5 kB / 432.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.2571, allocations: 278.4 kB / 432.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.2572, allocations: 41.7 kB / 432.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.2574, allocations: 304.4 kB / 432.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.2576, allocations: 253.8 kB / 433 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.2578, allocations: 138.8 kB / 433.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.258, allocations: 350.7 kB / 433.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.2585, allocations: 233.8 kB / 433.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.2592, allocations: 390.3 kB / 434.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.2604, allocations: 0.6298 MB / 434.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2604, allocations: 4 kB / 434.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001613/0.262, allocations: 0.8307 MB / 435.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.262, allocations: 4 kB / 435.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.262, allocations: 4 kB / 435.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/0.2625, allocations: 133.7 kB / 435.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.2631, allocations: 151.8 kB / 435.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/0.2669, allocations: 3.786 MB / 439.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.2674, allocations: 87.55 kB / 439.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.2675, allocations: 32 kB / 439.7 MB, free: 2.621 MB / 350.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.0002848/0.2677, allocations: 193.7 kB / 439.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.2678, allocations: 43.72 kB / 440 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.2694, allocations: 0.7491 MB / 440.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.2695, allocations: 8 kB / 440.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2695, allocations: 0 / 440.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2695, allocations: 7.984 kB / 440.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.272, allocations: 1.489 MB / 442.2 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.272, allocations: 0 / 442.2 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.2725, allocations: 111.9 kB / 442.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/0.2728, allocations: 105.6 kB / 442.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.2729, allocations: 23.92 kB / 442.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.276, allocations: 3.346 MB / 445.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.276, allocations: 0 / 445.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.2779, allocations: 1.125 MB / 446.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.278, allocations: 128.7 kB / 447 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.2781, allocations: 12 kB / 447.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.2785, allocations: 27.98 kB / 447.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.2786, allocations: 52.58 kB / 447.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.2786, allocations: 20 kB / 447.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.2788, allocations: 190 kB / 447.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2788, allocations: 4.062 kB / 447.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007737/0.2796, allocations: 215.7 kB / 447.6 MB, free: 10.38 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.000269/0.2799, allocations: 167 kB / 447.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.2815, allocations: 0.8405 MB / 448.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2815, allocations: 0 / 448.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.2823, allocations: 0.5407 MB / 449.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.2828, allocations: 40.5 kB / 449.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.2848, allocations: 1.119 MB / 450.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.2853, allocations: 0.8656 MB / 451.1 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003289/0.2856, allocations: 76.36 kB / 451.2 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.2857, allocations: 43.42 kB / 451.2 MB, free: 6.566 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2857, allocations: 0 / 451.2 MB, free: 6.566 MB / 366.1 MB Notification: Performance of Templates: time 0.01263/0.2983, allocations: 6.357 MB / 457.6 MB, free: 264 kB / 366.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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