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.001761/0.001761, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002036/0.002036, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.436/1.436, allocations: 227.7 MB / 247.7 MB, free: 10.31 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.00194/0.00194, allocations: 68.8 kB / 307.9 MB, free: 468 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09735, allocations: 50.54 MB / 358.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006104/0.1035, allocations: 4.326 MB / 362.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.1063, allocations: 1.713 MB / 364.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.1065, allocations: 12 kB / 364.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.1088, allocations: 1.03 MB / 365.5 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.1094, allocations: 254.2 kB / 365.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.111, allocations: 0.7508 MB / 366.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006532/0.1116, allocations: 0.6297 MB / 367.2 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008071/0.1125, allocations: 0.5249 MB / 367.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.1129, allocations: 274.9 kB / 368 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.1133, allocations: 362.5 kB / 368.3 MB, free: 4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.744e-05/0.1134, allocations: 56 kB / 368.4 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005802/0.114, allocations: 295.7 kB / 368.6 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.1141, allocations: 139.5 kB / 368.8 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.1144, allocations: 326.4 kB / 369.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1155, allocations: 0.9578 MB / 370.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1155, allocations: 4 kB / 370.1 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1155, allocations: 7.875 kB / 370.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1155, allocations: 0 / 370.1 MB, free: 2.227 MB / 302.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.003731/0.1193, allocations: 1.268 MB / 371.3 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1193, allocations: 12.03 kB / 371.4 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.1207, allocations: 204 kB / 371.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.121, allocations: 247.3 kB / 371.8 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.121, allocations: 54.38 kB / 371.8 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.1212, allocations: 76.36 kB / 371.9 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1612/0.2824, allocations: 0.7647 MB / 372.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.2825, allocations: 1.594 kB / 372.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.2826, allocations: 29.81 kB / 372.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.2826, allocations: 22.69 kB / 372.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.284, allocations: 0.6596 MB / 373.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.2885, allocations: 3.275 MB / 376.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.2906, allocations: 2.068 MB / 378.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.2912, allocations: 319 kB / 379.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.2913, allocations: 184.2 kB / 379.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.2914, allocations: 39.94 kB / 379.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.574e-06/0.2914, allocations: 3.812 kB / 379.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002528/0.2939, allocations: 1.133 MB / 380.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.294, allocations: 111.6 kB / 380.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.2943, allocations: 282.5 kB / 380.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2944, allocations: 36.36 kB / 380.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.2945, allocations: 298.1 kB / 381.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.2947, allocations: 243.2 kB / 381.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.2949, allocations: 136.2 kB / 381.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.295, allocations: 351.6 kB / 381.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.2954, allocations: 227.6 kB / 382.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005448/0.296, allocations: 391.7 kB / 382.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009935/0.297, allocations: 0.6277 MB / 383.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.297, allocations: 2.281 kB / 383.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001473/0.2985, allocations: 0.8324 MB / 383.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2985, allocations: 7.547 kB / 383.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2985, allocations: 4 kB / 383.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/0.299, allocations: 128.4 kB / 384 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.2996, allocations: 154.4 kB / 384.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/0.3022, allocations: 3.798 MB / 388 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.3027, allocations: 85.39 kB / 388.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.3028, allocations: 33.11 kB / 388.1 MB, free: 8.824 MB / 302.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.000264/0.303, allocations: 202.5 kB / 388.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3031, allocations: 43.66 kB / 388.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.3046, allocations: 0.7358 MB / 389.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3047, allocations: 10.19 kB / 389.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.3047, allocations: 6.219 kB / 389.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3047, allocations: 4.953 kB / 389.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.3071, allocations: 1.49 MB / 390.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3071, allocations: 0.9375 kB / 390.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.3076, allocations: 117.9 kB / 390.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.3079, allocations: 115.2 kB / 390.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.3079, allocations: 17.83 kB / 390.8 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.31, allocations: 3.346 MB / 394.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.31, allocations: 0.5625 kB / 394.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.3119, allocations: 1.124 MB / 395.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.312, allocations: 120.2 kB / 395.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.3121, allocations: 12.22 kB / 395.4 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.3125, allocations: 31.64 kB / 395.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3126, allocations: 51.53 kB / 395.5 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.3127, allocations: 22.38 kB / 395.5 MB, free: 3.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3129, allocations: 199.1 kB / 395.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3129, allocations: 0 / 395.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009125/0.3138, allocations: 218.5 kB / 395.9 MB, free: 3.367 MB / 302.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.0002586/0.3141, allocations: 157.6 kB / 396.1 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.3158, allocations: 0.9034 MB / 397 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3158, allocations: 5.312 kB / 397 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007291/0.3166, allocations: 0.5531 MB / 397.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.3171, allocations: 42.61 kB / 397.6 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3192, allocations: 1.15 MB / 398.8 MB, free: 1.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.3195, allocations: 0.8653 MB / 399.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.3197, allocations: 49.61 kB / 399.7 MB, free: 1.043 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3197, allocations: 0 / 399.7 MB, free: 1.043 MB / 302.1 MB Notification: Performance of Templates: time 0.01474/0.3344, allocations: 11.5 MB / 411.2 MB, free: 8.773 MB / 318.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/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