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.001154/0.001154, allocations: 105.1 kB / 18.45 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 210.8 kB / 19.41 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.88 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2674, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005908/0.2733, allocations: 4.335 MB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.2764, allocations: 1.705 MB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.2768, allocations: 12 kB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.2791, allocations: 1.019 MB / 417 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008516/0.2799, allocations: 266 kB / 417.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.2817, allocations: 0.7586 MB / 418 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006855/0.2824, allocations: 0.6338 MB / 418.7 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007709/0.2832, allocations: 0.5167 MB / 419.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003798/0.2836, allocations: 270.9 kB / 419.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.284, allocations: 358.5 kB / 419.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.2841, allocations: 56 kB / 419.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006574/0.2848, allocations: 295.7 kB / 420.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2849, allocations: 139.5 kB / 420.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.2852, allocations: 326.4 kB / 420.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.2864, allocations: 0.9707 MB / 421.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2864, allocations: 0 / 421.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2864, allocations: 0 / 421.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2864, allocations: 0 / 421.6 MB, free: 5.945 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.0036/0.29, allocations: 1.268 MB / 422.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2901, allocations: 8.031 kB / 422.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.2915, allocations: 211.9 kB / 423 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2917, allocations: 239.4 kB / 423.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.2917, allocations: 58.38 kB / 423.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2919, allocations: 80.31 kB / 423.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.2933, allocations: 0.7701 MB / 424.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2934, allocations: 0 / 424.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.2934, allocations: 36 kB / 424.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.2935, allocations: 16 kB / 424.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.2948, allocations: 0.6649 MB / 424.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.2993, allocations: 3.245 MB / 428.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.302, allocations: 2.075 MB / 430.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/0.3026, allocations: 331.5 kB / 430.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.3028, allocations: 174.9 kB / 430.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3028, allocations: 39.22 kB / 430.7 MB, free: 12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.574e-06/0.3028, allocations: 4 kB / 430.8 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00255/0.3054, allocations: 1.137 MB / 431.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.3055, allocations: 111.5 kB / 432 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.3058, allocations: 278.5 kB / 432.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.3059, allocations: 37.7 kB / 432.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.3061, allocations: 295.4 kB / 432.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.3064, allocations: 244.4 kB / 432.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.3066, allocations: 138.8 kB / 433 MB, free: 9.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3068, allocations: 358.7 kB / 433.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.3072, allocations: 229.8 kB / 433.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.3078, allocations: 394.2 kB / 433.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.309, allocations: 0.622 MB / 434.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.309, allocations: 4 kB / 434.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001518/0.3105, allocations: 0.8305 MB / 435.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3106, allocations: 8 kB / 435.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3106, allocations: 7.984 kB / 435.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.311, allocations: 129.7 kB / 435.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.3116, allocations: 151.8 kB / 435.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.3148, allocations: 3.79 MB / 439.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.3153, allocations: 87.22 kB / 439.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.3154, allocations: 36 kB / 439.6 MB, free: 2.645 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.0002746/0.3157, allocations: 197.6 kB / 439.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.3158, allocations: 39.53 kB / 439.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3173, allocations: 0.7491 MB / 440.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.3173, allocations: 4 kB / 440.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3173, allocations: 4 kB / 440.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3173, allocations: 3.984 kB / 440.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.3196, allocations: 1.485 MB / 442.1 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3197, allocations: 0 / 442.1 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.3202, allocations: 107.9 kB / 442.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.3205, allocations: 117.6 kB / 442.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.3205, allocations: 15.98 kB / 442.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.3233, allocations: 3.35 MB / 445.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3233, allocations: 0 / 445.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.3252, allocations: 1.117 MB / 446.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.3253, allocations: 132.5 kB / 446.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.3254, allocations: 12 kB / 446.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.3258, allocations: 31.98 kB / 446.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3259, allocations: 48.58 kB / 447 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.3259, allocations: 20 kB / 447 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.3261, allocations: 194 kB / 447.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3261, allocations: 64 / 447.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008058/0.3269, allocations: 219.4 kB / 447.4 MB, free: 10.41 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.0002911/0.3272, allocations: 163 kB / 447.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.3288, allocations: 0.8719 MB / 448.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3289, allocations: 4 kB / 448.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.3296, allocations: 0.5642 MB / 449 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3301, allocations: 36.5 kB / 449 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.3321, allocations: 1.138 MB / 450.2 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.3326, allocations: 0.8616 MB / 451 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3328, allocations: 55.42 kB / 451.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.3328, allocations: 0 / 451.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of Templates: time 0.01379/0.3466, allocations: 11.57 MB / 462.7 MB, free: 11.01 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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