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/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) 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(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/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 114.1 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001711/0.001711, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 55.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2305, allocations: 50.55 MB / 409.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005034/0.2356, allocations: 4.331 MB / 413.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.2381, allocations: 1.705 MB / 415.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.2383, allocations: 12 kB / 415.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.2405, allocations: 1.026 MB / 416.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.241, allocations: 258.2 kB / 416.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.2424, allocations: 0.759 MB / 417.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.243, allocations: 0.6338 MB / 418 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.2437, allocations: 0.5104 MB / 418.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.244, allocations: 278.9 kB / 418.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.2444, allocations: 362.5 kB / 419.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.2445, allocations: 56 kB / 419.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.245, allocations: 287.7 kB / 419.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2451, allocations: 143.5 kB / 419.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.2453, allocations: 326.4 kB / 419.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009102/0.2463, allocations: 0.9695 MB / 420.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2463, allocations: 4 kB / 420.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2463, allocations: 7.938 kB / 420.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2463, allocations: 0 / 420.9 MB, free: 6.051 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.003444/0.2497, allocations: 1.261 MB / 422.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2498, allocations: 16.03 kB / 422.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.2512, allocations: 207.9 kB / 422.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.2514, allocations: 235.5 kB / 422.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.2514, allocations: 54.38 kB / 422.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2515, allocations: 72.38 kB / 422.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2528, allocations: 0.774 MB / 423.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.2528, allocations: 4 kB / 423.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.2529, allocations: 35.98 kB / 423.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.2529, allocations: 23.98 kB / 423.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.2542, allocations: 0.6532 MB / 424.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.2581, allocations: 3.257 MB / 427.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.2602, allocations: 2.067 MB / 429.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/0.2608, allocations: 323.5 kB / 429.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.2609, allocations: 190.8 kB / 430 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.261, allocations: 39.5 kB / 430.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.964e-06/0.261, allocations: 0 / 430.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002476/0.2634, allocations: 1.137 MB / 431.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.2635, allocations: 107.5 kB / 431.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.2638, allocations: 274.5 kB / 431.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.2638, allocations: 37.7 kB / 431.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.264, allocations: 295.4 kB / 431.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.2642, allocations: 244.4 kB / 432.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.2644, allocations: 138.6 kB / 432.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2645, allocations: 355 kB / 432.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.265, allocations: 233.8 kB / 432.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.2655, allocations: 386.2 kB / 433.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.2666, allocations: 0.6337 MB / 433.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2666, allocations: 4 kB / 433.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001458/0.2681, allocations: 0.8267 MB / 434.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2681, allocations: 4 kB / 434.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2681, allocations: 4 kB / 434.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/0.2685, allocations: 133.7 kB / 434.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.2691, allocations: 159.7 kB / 435 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.2722, allocations: 3.798 MB / 438.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.2726, allocations: 79.17 kB / 438.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.2727, allocations: 35.98 kB / 438.9 MB, free: 2.762 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.0002272/0.2729, allocations: 193.7 kB / 439.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.273, allocations: 39.53 kB / 439.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.2745, allocations: 0.7493 MB / 439.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2745, allocations: 8 kB / 439.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2745, allocations: 0 / 439.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2745, allocations: 7.984 kB / 439.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.2768, allocations: 1.489 MB / 441.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2768, allocations: 0 / 441.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.2773, allocations: 107.9 kB / 441.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002855/0.2776, allocations: 109.6 kB / 441.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.2776, allocations: 12 kB / 441.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.2802, allocations: 3.365 MB / 445 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2802, allocations: 0 / 445 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.282, allocations: 1.117 MB / 446.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.2821, allocations: 124.5 kB / 446.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.2821, allocations: 16 kB / 446.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.2825, allocations: 27.97 kB / 446.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.2826, allocations: 60.58 kB / 446.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.2827, allocations: 16 kB / 446.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.2828, allocations: 194 kB / 446.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2829, allocations: 0 / 446.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007476/0.2836, allocations: 215.4 kB / 446.7 MB, free: 10.52 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.0002291/0.2838, allocations: 151.2 kB / 446.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.2853, allocations: 0.8878 MB / 447.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2853, allocations: 4.312 kB / 447.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007913/0.2861, allocations: 0.5517 MB / 448.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.2866, allocations: 48.48 kB / 448.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.2885, allocations: 1.099 MB / 449.5 MB, free: 7.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.2889, allocations: 0.8694 MB / 450.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.2893, allocations: 76.36 kB / 450.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2894, allocations: 47.36 kB / 450.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2894, allocations: 0 / 450.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of Templates: time 0.01083/0.3002, allocations: 6.269 MB / 456.7 MB, free: 428 kB / 366.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches