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.001818/0.001818, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002411/0.002411, allocations: 220.1 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.492/1.492, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.001983/0.001983, allocations: 72.06 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2852, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006418/0.2916, allocations: 4.372 MB / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.2949, allocations: 1.748 MB / 438.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.2952, allocations: 15.94 kB / 438.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.2976, allocations: 1.027 MB / 439.2 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.2983, allocations: 254.3 kB / 439.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.2999, allocations: 0.7732 MB / 440.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.3007, allocations: 0.6338 MB / 440.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.3014, allocations: 399 kB / 441.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.3018, allocations: 278.9 kB / 441.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.3022, allocations: 358.5 kB / 441.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.3023, allocations: 56 kB / 441.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.3029, allocations: 291.7 kB / 442.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.303, allocations: 139.5 kB / 442.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.3033, allocations: 322.4 kB / 442.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.3046, allocations: 0.9806 MB / 443.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3046, allocations: 4 kB / 443.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3046, allocations: 3.938 kB / 443.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3046, allocations: 0 / 443.7 MB, free: 11.75 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.003783/0.3084, allocations: 1.286 MB / 444.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3084, allocations: 15.97 kB / 445 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.3098, allocations: 200.4 kB / 445.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.3101, allocations: 243.5 kB / 445.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.3101, allocations: 58.38 kB / 445.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.3103, allocations: 76.36 kB / 445.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3117, allocations: 0.7663 MB / 446.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.3117, allocations: 4 kB / 446.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.177e-05/0.3118, allocations: 32 kB / 446.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.3118, allocations: 16 kB / 446.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3132, allocations: 0.6649 MB / 447 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/0.3181, allocations: 3.274 MB / 450.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.3207, allocations: 2.016 MB / 452.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/0.3213, allocations: 287.5 kB / 452.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.3215, allocations: 182.8 kB / 452.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3215, allocations: 47.48 kB / 452.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.076e-06/0.3215, allocations: 0 / 452.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002675/0.3242, allocations: 1.138 MB / 453.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.3243, allocations: 111.5 kB / 454 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.3246, allocations: 282.7 kB / 454.3 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.3247, allocations: 37.7 kB / 454.4 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.3249, allocations: 300.5 kB / 454.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.3251, allocations: 261.7 kB / 454.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.3254, allocations: 134.6 kB / 455 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.3256, allocations: 358.7 kB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.3261, allocations: 233.8 kB / 455.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/0.3268, allocations: 386.3 kB / 456 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.328, allocations: 0.6376 MB / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.328, allocations: 8 kB / 456.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001674/0.3297, allocations: 0.8268 MB / 457.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3297, allocations: 4 kB / 457.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3297, allocations: 4 kB / 457.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.3302, allocations: 129.7 kB / 457.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.3308, allocations: 159.7 kB / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.3349, allocations: 3.794 MB / 461.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.3354, allocations: 91.42 kB / 461.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.3355, allocations: 31.98 kB / 461.7 MB, free: 8.457 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.000323/0.3358, allocations: 194.3 kB / 461.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3359, allocations: 51.78 kB / 461.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.3375, allocations: 0.7336 MB / 462.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3375, allocations: 8 kB / 462.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3375, allocations: 4 kB / 462.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3375, allocations: 3.984 kB / 462.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.3401, allocations: 1.497 MB / 464.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3401, allocations: 0 / 464.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.3406, allocations: 107.9 kB / 464.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/0.3409, allocations: 113.6 kB / 464.4 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.341, allocations: 15.98 kB / 464.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.3442, allocations: 3.349 MB / 467.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3442, allocations: 4.031 kB / 467.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.3462, allocations: 1.117 MB / 468.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3463, allocations: 136.7 kB / 469 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.3464, allocations: 8 kB / 469 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.3468, allocations: 31.97 kB / 469 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.3469, allocations: 56.52 kB / 469.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.3469, allocations: 16 kB / 469.1 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.3471, allocations: 198 kB / 469.3 MB, free: 424 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3471, allocations: 3.938 kB / 469.3 MB, free: 420 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008324/0.348, allocations: 211.7 kB / 469.5 MB, free: 208 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.0002798/0.3482, allocations: 158.1 kB / 469.7 MB, free: 44 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.3499, allocations: 0.8522 MB / 470.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3499, allocations: 0 / 470.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.3507, allocations: 0.5366 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.0005109/0.3512, allocations: 50.62 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.002179/0.3534, allocations: 1.1 MB / 472.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.354, allocations: 0.8616 MB / 473.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.3543, allocations: 80.36 kB / 473.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3544, allocations: 51.36 kB / 473.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3544, allocations: 0 / 473.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01367/0.3681, allocations: 6.634 MB / 479.8 MB, free: 5.816 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 -s cvode -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: 4.812972799874842]