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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009078/0.009078, allocations: 109.7 kB / 21.98 MB, free: 5.184 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.001864/0.001864, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 259 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "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.001994/0.001994, allocations: 71.89 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2298, allocations: 53.36 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006012/0.2358, allocations: 4.377 MB / 437.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.2389, allocations: 1.748 MB / 439.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.2392, allocations: 12 kB / 439.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.2416, allocations: 1.034 MB / 440.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006587/0.2423, allocations: 258.2 kB / 440.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.2439, allocations: 0.7695 MB / 441.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.2446, allocations: 0.6338 MB / 442 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.2454, allocations: 472 kB / 442.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.2458, allocations: 282.9 kB / 442.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.2463, allocations: 358.5 kB / 443.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.853e-05/0.2463, allocations: 56 kB / 443.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.2469, allocations: 303.7 kB / 443.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.2471, allocations: 135.5 kB / 443.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.2474, allocations: 326.4 kB / 443.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2486, allocations: 0.9801 MB / 444.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2486, allocations: 0 / 444.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2486, allocations: 0 / 444.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.2486, allocations: 0 / 444.9 MB, free: 11.25 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.003703/0.2523, allocations: 1.211 MB / 446.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2523, allocations: 8.031 kB / 446.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.2537, allocations: 200.4 kB / 446.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2539, allocations: 189.6 kB / 446.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.254, allocations: 58.38 kB / 446.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.2541, allocations: 76.36 kB / 446.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.2556, allocations: 0.7663 MB / 447.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.2556, allocations: 8 kB / 447.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/0.2557, allocations: 27.98 kB / 447.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.2557, allocations: 20 kB / 447.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.2571, allocations: 0.6688 MB / 448.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/0.2616, allocations: 2.876 MB / 451 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.2636, allocations: 0.8282 MB / 451.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.2642, allocations: 291.5 kB / 452.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.2643, allocations: 36.61 kB / 452.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.2644, allocations: 39.5 kB / 452.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.285e-06/0.2644, allocations: 3.938 kB / 452.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002626/0.267, allocations: 0.9793 MB / 453.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.2671, allocations: 119.5 kB / 453.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.2674, allocations: 273.8 kB / 453.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.2675, allocations: 37.7 kB / 453.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.2677, allocations: 300.6 kB / 453.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.2679, allocations: 257.8 kB / 454.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.2681, allocations: 138.6 kB / 454.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2683, allocations: 354.7 kB / 454.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.2688, allocations: 233.8 kB / 454.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.2695, allocations: 390.3 kB / 455.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.2707, allocations: 0.6337 MB / 455.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2707, allocations: 4 kB / 455.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001685/0.2724, allocations: 0.8346 MB / 456.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2724, allocations: 8 kB / 456.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2724, allocations: 4 kB / 456.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.2728, allocations: 125.7 kB / 456.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.2734, allocations: 151.8 kB / 457 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.2771, allocations: 3.587 MB / 460.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.2777, allocations: 99.44 kB / 460.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.2777, allocations: 32 kB / 460.7 MB, free: 10.73 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.0002895/0.278, allocations: 189.7 kB / 460.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2781, allocations: 47.7 kB / 460.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.2797, allocations: 0.7414 MB / 461.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.2797, allocations: 4 kB / 461.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2797, allocations: 4 kB / 461.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.2798, allocations: 3.984 kB / 461.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.2825, allocations: 1.46 MB / 463.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.2825, allocations: 4 kB / 463.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.283, allocations: 115.9 kB / 463.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003146/0.2833, allocations: 113.6 kB / 463.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.2834, allocations: 15.98 kB / 463.4 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/0.2865, allocations: 3.146 MB / 466.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2865, allocations: 0 / 466.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.2886, allocations: 1.121 MB / 467.6 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.2887, allocations: 43.64 kB / 467.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.2887, allocations: 19.94 kB / 467.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.2891, allocations: 36.05 kB / 467.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.2892, allocations: 56.48 kB / 467.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.2893, allocations: 19.98 kB / 467.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.2895, allocations: 193.2 kB / 468 MB, free: 3.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2895, allocations: 0 / 468 MB, free: 3.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008153/0.2903, allocations: 219.6 kB / 468.2 MB, free: 2.852 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.000273/0.2906, allocations: 155.1 kB / 468.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.2923, allocations: 0.8528 MB / 469.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2923, allocations: 4 kB / 469.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008529/0.2931, allocations: 0.5359 MB / 469.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.2936, allocations: 40.38 kB / 469.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.2958, allocations: 1.123 MB / 470.9 MB, free: 56 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.2963, allocations: 0.8616 MB / 471.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.2965, allocations: 55.36 kB / 471.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.2965, allocations: 0 / 471.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01633/0.3129, allocations: 11.85 MB / 483.7 MB, free: 3.262 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8805856260005385]