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.001262/0.001262, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.42 kB / 306.9 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.0936, allocations: 50.53 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005216/0.09885, allocations: 4.346 MB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1015, allocations: 1.705 MB / 363.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.1017, allocations: 12 kB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.1037, allocations: 0.9529 MB / 364.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.1042, allocations: 218.7 kB / 364.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1055, allocations: 0.744 MB / 365.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.106, allocations: 0.6062 MB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.1067, allocations: 477.7 kB / 366.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.1071, allocations: 255 kB / 366.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.1074, allocations: 354.5 kB / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.1075, allocations: 40 kB / 367.1 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.108, allocations: 271.7 kB / 367.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1081, allocations: 127.5 kB / 367.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.1084, allocations: 314.3 kB / 367.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.109, allocations: 0.7406 MB / 368.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.109, allocations: 0 / 368.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1091, allocations: 0 / 368.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1091, allocations: 0 / 368.6 MB, free: 3.344 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.003539/0.1126, allocations: 1.272 MB / 369.8 MB, free: 2.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1127, allocations: 15.97 kB / 369.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.1141, allocations: 204 kB / 370.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1143, allocations: 246.5 kB / 370.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.1143, allocations: 58.38 kB / 370.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1144, allocations: 72.38 kB / 370.4 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.1157, allocations: 0.7701 MB / 371.2 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.1158, allocations: 3.906 kB / 371.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.1158, allocations: 35.98 kB / 371.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.1158, allocations: 16 kB / 371.2 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1442/0.2601, allocations: 0.6589 MB / 371.9 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.2642, allocations: 3.268 MB / 375.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.2662, allocations: 2.078 MB / 377.3 MB, free: 16.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.2668, allocations: 319.2 kB / 377.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.267, allocations: 180.6 kB / 377.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.267, allocations: 42.42 kB / 377.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.355e-06/0.267, allocations: 0 / 377.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002394/0.2694, allocations: 1.135 MB / 378.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2694, allocations: 114.3 kB / 379 MB, free: 15.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.2697, allocations: 274.7 kB / 379.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.2697, allocations: 36.64 kB / 379.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2698, allocations: 298.8 kB / 379.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.27, allocations: 245.6 kB / 379.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.2702, allocations: 136 kB / 380 MB, free: 14.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.2702, allocations: 348.6 kB / 380.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.2707, allocations: 232.1 kB / 380.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.2712, allocations: 383.8 kB / 380.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009745/0.2722, allocations: 0.6361 MB / 381.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2722, allocations: 2.641 kB / 381.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00145/0.2737, allocations: 0.8291 MB / 382.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2737, allocations: 10.59 kB / 382.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2737, allocations: 4.062 kB / 382.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.2741, allocations: 128.3 kB / 382.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.2747, allocations: 156.6 kB / 382.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.2771, allocations: 3.406 MB / 386.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.2776, allocations: 94.39 kB / 386.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.2776, allocations: 28.44 kB / 386.2 MB, free: 9.84 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.000228/0.2779, allocations: 204.2 kB / 386.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/0.278, allocations: 42.59 kB / 386.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.2794, allocations: 0.7472 MB / 387.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2794, allocations: 6.875 kB / 387.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2794, allocations: 3.5 kB / 387.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2794, allocations: 4.516 kB / 387.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.2817, allocations: 1.485 MB / 388.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2818, allocations: 4.875 kB / 388.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.2823, allocations: 116.8 kB / 388.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.2825, allocations: 112.5 kB / 388.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.2826, allocations: 17.84 kB / 389 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.2845, allocations: 3.105 MB / 392.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2845, allocations: 1.531 kB / 392.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.2863, allocations: 1.127 MB / 393.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.2863, allocations: 120.6 kB / 393.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.2864, allocations: 16.5 kB / 393.3 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.2868, allocations: 28.17 kB / 393.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2869, allocations: 53.91 kB / 393.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.287, allocations: 19.33 kB / 393.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.2871, allocations: 190.2 kB / 393.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2871, allocations: 4.062 kB / 393.6 MB, free: 4.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007971/0.2879, allocations: 222.4 kB / 393.8 MB, free: 4.613 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.000228/0.2882, allocations: 153.8 kB / 394 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.2897, allocations: 0.8804 MB / 394.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2897, allocations: 0 / 394.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007066/0.2904, allocations: 0.5548 MB / 395.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.2908, allocations: 47.98 kB / 395.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.2928, allocations: 1.419 MB / 396.9 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2931, allocations: 0.8679 MB / 397.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.2933, allocations: 51.16 kB / 397.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2933, allocations: 0 / 397.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of Templates: time 0.01196/0.3053, allocations: 11.49 MB / 409.3 MB, free: 10.54 MB / 318.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