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.001518/0.001518, allocations: 115.3 kB / 21.17 MB, free: 0.7812 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.001637/0.001637, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.397/1.397, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001893/0.001893, allocations: 63.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2281, allocations: 53.32 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005844/0.2339, allocations: 4.382 MB / 436.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.2367, allocations: 1.744 MB / 438.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.2369, allocations: 12 kB / 438.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.2392, allocations: 1.033 MB / 439.2 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.2398, allocations: 258.2 kB / 439.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.2413, allocations: 0.7707 MB / 440.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.2419, allocations: 0.6416 MB / 440.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006402/0.2426, allocations: 399 kB / 441.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.2429, allocations: 270.9 kB / 441.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.2434, allocations: 362.5 kB / 441.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.2434, allocations: 56 kB / 441.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.244, allocations: 287.7 kB / 442.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.2441, allocations: 139.5 kB / 442.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.2444, allocations: 330.4 kB / 442.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.2455, allocations: 0.9767 MB / 443.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2455, allocations: 0 / 443.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2455, allocations: 3.938 kB / 443.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.2455, allocations: 3.984 kB / 443.7 MB, free: 11.74 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.003636/0.2491, allocations: 1.29 MB / 445 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2492, allocations: 8.031 kB / 445 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.2505, allocations: 200.4 kB / 445.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.2508, allocations: 243.5 kB / 445.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.2508, allocations: 54.38 kB / 445.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.2509, allocations: 72.38 kB / 445.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.2523, allocations: 0.774 MB / 446.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2523, allocations: 0 / 446.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.2524, allocations: 32 kB / 446.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2524, allocations: 20 kB / 446.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2537, allocations: 0.6688 MB / 447 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.258, allocations: 3.262 MB / 450.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.2604, allocations: 2.016 MB / 452.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.261, allocations: 295.5 kB / 452.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.2612, allocations: 182.8 kB / 452.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.2613, allocations: 47.2 kB / 452.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.2613, allocations: 0 / 452.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002587/0.2638, allocations: 1.134 MB / 453.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.2639, allocations: 115.7 kB / 454.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.2642, allocations: 274.5 kB / 454.3 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.2643, allocations: 41.64 kB / 454.4 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.2645, allocations: 300.4 kB / 454.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.2647, allocations: 261.8 kB / 454.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.2649, allocations: 138.6 kB / 455 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2651, allocations: 358.7 kB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.2656, allocations: 225.9 kB / 455.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.2662, allocations: 390.2 kB / 456 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.2674, allocations: 0.6415 MB / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2674, allocations: 0 / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001591/0.269, allocations: 0.8307 MB / 457.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.269, allocations: 8 kB / 457.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.269, allocations: 7.984 kB / 457.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/0.2694, allocations: 125.7 kB / 457.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.27, allocations: 159.7 kB / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.2737, allocations: 3.79 MB / 461.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.2742, allocations: 87.42 kB / 461.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.2742, allocations: 31.98 kB / 461.7 MB, free: 8.465 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.0002816/0.2745, allocations: 202.3 kB / 461.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2746, allocations: 43.72 kB / 461.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.2761, allocations: 0.7414 MB / 462.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.2761, allocations: 8 kB / 462.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2762, allocations: 4 kB / 462.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.2762, allocations: 3.984 kB / 462.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.2787, allocations: 1.485 MB / 464.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2787, allocations: 0 / 464.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.2792, allocations: 115.8 kB / 464.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.2795, allocations: 109.7 kB / 464.4 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.2795, allocations: 15.98 kB / 464.4 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/0.2825, allocations: 3.357 MB / 467.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2825, allocations: 0 / 467.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.2845, allocations: 1.125 MB / 468.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.2846, allocations: 128.6 kB / 469 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.2846, allocations: 15.98 kB / 469 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.285, allocations: 23.98 kB / 469 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.2851, allocations: 52.58 kB / 469.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.2852, allocations: 20 kB / 469.1 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.2854, allocations: 197.9 kB / 469.3 MB, free: 428 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2854, allocations: 3.938 kB / 469.3 MB, free: 424 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007521/0.2861, allocations: 219.7 kB / 469.5 MB, free: 204 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.0002482/0.2864, allocations: 151.1 kB / 469.7 MB, free: 44 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.2879, allocations: 0.8445 MB / 470.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2879, allocations: 0 / 470.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.2887, allocations: 0.5406 MB / 471.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.2892, allocations: 44.5 kB / 471.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.2912, allocations: 1.139 MB / 472.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.2918, allocations: 0.8616 MB / 473.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.2919, allocations: 51.42 kB / 473.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2919, allocations: 3.938 kB / 473.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01496/0.3069, allocations: 11.87 MB / 485 MB, free: 0.5859 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.647319142706692]