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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 215.7 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.2 MB / 256.2 MB, free: 8.562 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2479, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005994/0.2539, allocations: 4.371 MB / 434.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.2569, allocations: 1.748 MB / 435.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.2571, allocations: 12 kB / 435.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.2595, allocations: 1.027 MB / 437 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006098/0.2601, allocations: 258.2 kB / 437.2 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.2617, allocations: 0.7737 MB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.2624, allocations: 0.6299 MB / 438.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.2631, allocations: 403 kB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.2634, allocations: 274.9 kB / 439.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.2639, allocations: 354.5 kB / 439.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.2639, allocations: 56 kB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.2645, allocations: 299.7 kB / 440 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2646, allocations: 139.5 kB / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.2649, allocations: 326.4 kB / 440.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.2661, allocations: 0.9803 MB / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2661, allocations: 0 / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.2661, allocations: 0 / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.2661, allocations: 0 / 441.4 MB, free: 11.88 MB / 350.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.003635/0.2697, allocations: 1.294 MB / 442.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2697, allocations: 8.031 kB / 442.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.2711, allocations: 204.4 kB / 442.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.2714, allocations: 235.5 kB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.2714, allocations: 58.38 kB / 443.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2715, allocations: 72.38 kB / 443.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.273, allocations: 0.774 MB / 444 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.273, allocations: 11.92 kB / 444.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.2731, allocations: 32 kB / 444.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.2731, allocations: 16 kB / 444.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.2745, allocations: 0.6649 MB / 444.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.2789, allocations: 3.262 MB / 448 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.2815, allocations: 2.023 MB / 450 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.2821, allocations: 291.5 kB / 450.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.2823, allocations: 186.8 kB / 450.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.2824, allocations: 39.22 kB / 450.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.2824, allocations: 0 / 450.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002663/0.2851, allocations: 1.146 MB / 451.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.2851, allocations: 111.5 kB / 451.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.2854, allocations: 278.5 kB / 452.1 MB, free: 388 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.2855, allocations: 37.7 kB / 452.1 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.2857, allocations: 300.4 kB / 452.4 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.2859, allocations: 257.9 kB / 452.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.2861, allocations: 142.6 kB / 452.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2863, allocations: 354.5 kB / 453.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.2868, allocations: 233.9 kB / 453.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.2874, allocations: 382.2 kB / 453.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2886, allocations: 0.6493 MB / 454.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2886, allocations: 0 / 454.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001617/0.2902, allocations: 0.8268 MB / 455.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2902, allocations: 4 kB / 455.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2902, allocations: 4 kB / 455.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004066/0.2906, allocations: 125.7 kB / 455.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.2913, allocations: 159.7 kB / 455.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.2949, allocations: 3.797 MB / 459.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.2954, allocations: 83.48 kB / 459.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.2954, allocations: 32 kB / 459.4 MB, free: 8.602 MB / 366.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.0002783/0.2957, allocations: 201.7 kB / 459.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2958, allocations: 43.72 kB / 459.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.2974, allocations: 0.7413 MB / 460.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.2974, allocations: 8 kB / 460.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2974, allocations: 0 / 460.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.2974, allocations: 7.922 kB / 460.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.3, allocations: 1.489 MB / 461.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3, allocations: 3.938 kB / 461.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.3005, allocations: 107.9 kB / 462 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/0.3008, allocations: 117.6 kB / 462.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.3008, allocations: 12 kB / 462.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002997/0.3038, allocations: 3.354 MB / 465.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3038, allocations: 0 / 465.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.3058, allocations: 1.125 MB / 466.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.306, allocations: 128.7 kB / 466.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.306, allocations: 16 kB / 466.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.3064, allocations: 27.97 kB / 466.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.3065, allocations: 56.52 kB / 466.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.3066, allocations: 19.94 kB / 466.9 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.3068, allocations: 198 kB / 467.1 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3068, allocations: 64 / 467.1 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009768/0.3078, allocations: 215.7 kB / 467.3 MB, free: 348 kB / 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.0002695/0.308, allocations: 147.1 kB / 467.4 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.3099, allocations: 0.86 MB / 468.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3099, allocations: 0 / 468.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008532/0.3108, allocations: 0.5329 MB / 468.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.3113, allocations: 40.55 kB / 468.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3135, allocations: 1.1 MB / 469.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.3141, allocations: 0.8616 MB / 470.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.3144, allocations: 80.34 kB / 470.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3145, allocations: 51.42 kB / 470.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3145, allocations: 0 / 470.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01301/0.3275, allocations: 6.639 MB / 477.6 MB, free: 5.93 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.631649704650044]