Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.92 kB / 371.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2376, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006366/0.244, allocations: 4.385 MB / 428.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.2472, allocations: 1.662 MB / 429.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.2475, allocations: 12 kB / 429.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.25, allocations: 1.023 MB / 431 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007697/0.2508, allocations: 254.2 kB / 431.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.2526, allocations: 0.8088 MB / 432 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009061/0.2535, allocations: 0.6452 MB / 432.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008204/0.2544, allocations: 469.1 kB / 433.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.2548, allocations: 279 kB / 433.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.2553, allocations: 362.6 kB / 433.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.263e-05/0.2554, allocations: 56 kB / 433.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.256, allocations: 279.7 kB / 434.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2561, allocations: 135.5 kB / 434.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.2565, allocations: 330.3 kB / 434.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.2577, allocations: 0.9627 MB / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2577, allocations: 0 / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2577, allocations: 0 / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2578, allocations: 0 / 435.5 MB, free: 3.004 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.003763/0.2615, allocations: 1.199 MB / 436.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2616, allocations: 15.97 kB / 436.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.263, allocations: 208.3 kB / 436.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.2632, allocations: 177.8 kB / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.2632, allocations: 58.38 kB / 437.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.2634, allocations: 76.33 kB / 437.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2648, allocations: 0.7701 MB / 438 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.2649, allocations: 0 / 438 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.2649, allocations: 35.98 kB / 438 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.265, allocations: 16 kB / 438 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.2664, allocations: 0.6611 MB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004542/0.271, allocations: 2.861 MB / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.2729, allocations: 0.8087 MB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.2736, allocations: 295.5 kB / 442.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/0.2737, allocations: 24.56 kB / 442.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.2737, allocations: 43.22 kB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.956e-06/0.2737, allocations: 0 / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002722/0.2764, allocations: 0.9793 MB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.2765, allocations: 115.5 kB / 443.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.2769, allocations: 273.8 kB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.2769, allocations: 33.7 kB / 444.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.2771, allocations: 312.3 kB / 444.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.2774, allocations: 257.8 kB / 444.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.2776, allocations: 138.6 kB / 444.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2778, allocations: 354.7 kB / 445.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.2783, allocations: 225.9 kB / 445.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.279, allocations: 390.2 kB / 445.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.2802, allocations: 0.6259 MB / 446.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.2802, allocations: 4 kB / 446.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001721/0.2819, allocations: 0.8344 MB / 447.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.282, allocations: 8 kB / 447.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.282, allocations: 8.312 kB / 447.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.2824, allocations: 121.6 kB / 447.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.2831, allocations: 159.8 kB / 447.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.2869, allocations: 3.587 MB / 451.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.2875, allocations: 91.38 kB / 451.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.2876, allocations: 32 kB / 451.2 MB, free: 2.547 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.0003366/0.2879, allocations: 205.6 kB / 451.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.2881, allocations: 39.77 kB / 451.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.2897, allocations: 0.7336 MB / 452.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.2897, allocations: 8 kB / 452.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.2897, allocations: 11.98 kB / 452.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2897, allocations: 0 / 452.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/0.2926, allocations: 1.457 MB / 453.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2926, allocations: 4 kB / 453.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.2932, allocations: 111.8 kB / 453.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/0.2935, allocations: 113.6 kB / 453.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.2935, allocations: 12 kB / 453.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.2966, allocations: 3.158 MB / 457.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2966, allocations: 0 / 457.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.2987, allocations: 1.117 MB / 458.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.2988, allocations: 51.62 kB / 458.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.641e-05/0.2989, allocations: 20 kB / 458.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.2993, allocations: 27.97 kB / 458.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.2994, allocations: 56.55 kB / 458.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.2995, allocations: 16 kB / 458.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.2997, allocations: 197.2 kB / 458.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2997, allocations: 0 / 458.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008866/0.3006, allocations: 215.6 kB / 458.8 MB, free: 10.68 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.0003386/0.3009, allocations: 147.1 kB / 458.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.3027, allocations: 0.8445 MB / 459.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3027, allocations: 0 / 459.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.3036, allocations: 0.533 MB / 460.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.3041, allocations: 51.94 kB / 460.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3064, allocations: 1.154 MB / 461.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.307, allocations: 0.8655 MB / 462.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.3072, allocations: 51.42 kB / 462.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3072, allocations: 0 / 462.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of Templates: time 0.01674/0.3239, allocations: 11.6 MB / 474 MB, free: 11.31 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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: 7.879145072773099]