Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 113.2 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09318, allocations: 46.61 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.0053/0.09852, allocations: 4.294 MB / 379.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1674/0.266, allocations: 1.677 MB / 381.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.2663, allocations: 12.31 kB / 381.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.2683, allocations: 1.014 MB / 382.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.2688, allocations: 254.8 kB / 382.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.2702, allocations: 0.7983 MB / 383.2 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006795/0.2709, allocations: 0.6395 MB / 383.8 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00069/0.2716, allocations: 0.5232 MB / 384.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.272, allocations: 273.7 kB / 384.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.2723, allocations: 359.3 kB / 385 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.253e-05/0.2724, allocations: 55.81 kB / 385 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.2729, allocations: 273.9 kB / 385.3 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.273, allocations: 142.3 kB / 385.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.2733, allocations: 331.4 kB / 385.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009514/0.2742, allocations: 0.9502 MB / 386.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2742, allocations: 0 / 386.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2742, allocations: 0 / 386.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.2743, allocations: 1.406 kB / 386.7 MB, free: 8.082 MB / 318.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.003412/0.2777, allocations: 1.256 MB / 388 MB, free: 7.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2777, allocations: 9.594 kB / 388 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.2791, allocations: 204.7 kB / 388.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.2793, allocations: 237.3 kB / 388.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.2793, allocations: 55.53 kB / 388.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.2795, allocations: 76.3 kB / 388.5 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2808, allocations: 0.7761 MB / 389.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.2809, allocations: 1.188 kB / 389.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.2809, allocations: 31.16 kB / 389.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.281, allocations: 18.2 kB / 389.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2823, allocations: 0.6659 MB / 390 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.2859, allocations: 3.086 MB / 393.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.2879, allocations: 2.085 MB / 395.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.2885, allocations: 333.8 kB / 395.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.61e-05/0.2886, allocations: 96.39 kB / 395.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2887, allocations: 39.81 kB / 395.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.2887, allocations: 0 / 395.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002513/0.2912, allocations: 1.14 MB / 396.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.2913, allocations: 111.9 kB / 396.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.2915, allocations: 275 kB / 397.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.2916, allocations: 35.92 kB / 397.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2917, allocations: 301.3 kB / 397.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2919, allocations: 248.7 kB / 397.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.2921, allocations: 137.1 kB / 397.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.2922, allocations: 356.4 kB / 398.2 MB, free: 332 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.2926, allocations: 228.2 kB / 398.4 MB, free: 256 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.2932, allocations: 387.8 kB / 398.8 MB, free: 0 / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.2944, allocations: 0.6421 MB / 399.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2944, allocations: 0 / 399.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001654/0.296, allocations: 0.8275 MB / 400.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2961, allocations: 9.031 kB / 400.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2961, allocations: 4.094 kB / 400.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.2965, allocations: 126 kB / 400.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.2972, allocations: 163.1 kB / 400.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.3004, allocations: 3.779 MB / 404.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.301, allocations: 89.75 kB / 404.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.3011, allocations: 29.11 kB / 404.5 MB, free: 11.66 MB / 334.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.0002799/0.3013, allocations: 203.5 kB / 404.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.3015, allocations: 43.69 kB / 404.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.303, allocations: 0.7396 MB / 405.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.3031, allocations: 7.906 kB / 405.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3031, allocations: 6.281 kB / 405.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.3031, allocations: 5.141 kB / 405.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.3056, allocations: 1.497 MB / 407 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3056, allocations: 0 / 407 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.3061, allocations: 115.2 kB / 407.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.3064, allocations: 112.7 kB / 407.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.3065, allocations: 14.62 kB / 407.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.3092, allocations: 3.341 MB / 410.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3092, allocations: 5.125 kB / 410.6 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.3111, allocations: 1.123 MB / 411.7 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.3113, allocations: 125.7 kB / 411.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.3113, allocations: 11.91 kB / 411.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.3117, allocations: 37.06 kB / 411.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3119, allocations: 52.86 kB / 411.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.3119, allocations: 18.09 kB / 411.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.3121, allocations: 193.1 kB / 412.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.3122, allocations: 0 / 412.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008189/0.313, allocations: 215.1 kB / 412.3 MB, free: 6.074 MB / 334.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.0002455/0.3132, allocations: 155.5 kB / 412.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3148, allocations: 0.8801 MB / 413.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3149, allocations: 0 / 413.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.3157, allocations: 0.565 MB / 413.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3162, allocations: 44.59 kB / 414 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.3182, allocations: 1.105 MB / 415.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.3186, allocations: 0.8621 MB / 415.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.319, allocations: 87.16 kB / 416 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3191, allocations: 42.05 kB / 416.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3191, allocations: 0 / 416.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of Templates: time 0.01114/0.3303, allocations: 6.224 MB / 422.3 MB, free: 14.74 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches