Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 258.2 MB, free: 7.75 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 47.92 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2666, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00587/0.2725, allocations: 3.939 MB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.2755, allocations: 1.615 MB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.2757, allocations: 12 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.278, allocations: 0.9564 MB / 438.9 MB, free: 168 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.2787, allocations: 250.3 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.2803, allocations: 0.7317 MB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.281, allocations: 0.6377 MB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.2818, allocations: 463.4 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.2822, allocations: 282.9 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.2827, allocations: 362.6 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.191e-05/0.2828, allocations: 56 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.2834, allocations: 287.8 kB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.2835, allocations: 143.5 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.2838, allocations: 266.7 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.285, allocations: 0.9803 MB / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.285, allocations: 0 / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.285, allocations: 0 / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.285, allocations: 0 / 443.3 MB, free: 11.73 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.003759/0.2887, allocations: 1.211 MB / 444.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2888, allocations: 16.02 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.2902, allocations: 188.4 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2905, allocations: 191.2 kB / 444.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.2905, allocations: 54.38 kB / 444.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.2906, allocations: 76.38 kB / 445 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.2921, allocations: 0.7953 MB / 445.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.2921, allocations: 0 / 445.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.2922, allocations: 32 kB / 445.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.2922, allocations: 16 kB / 445.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.2935, allocations: 0.6649 MB / 446.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.2975, allocations: 2.198 MB / 448.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.2995, allocations: 0.8168 MB / 449.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.3001, allocations: 295.5 kB / 449.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.3002, allocations: 32.91 kB / 449.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.3002, allocations: 43.16 kB / 449.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.405e-06/0.3002, allocations: 0 / 449.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002622/0.3028, allocations: 0.9832 MB / 450.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.3029, allocations: 115.4 kB / 451 MB, free: 3.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3032, allocations: 260.7 kB / 451.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.3033, allocations: 37.7 kB / 451.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.3035, allocations: 316.2 kB / 451.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.3037, allocations: 257.8 kB / 451.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.3039, allocations: 138.6 kB / 452 MB, free: 2.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3041, allocations: 350.7 kB / 452.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.3046, allocations: 233.9 kB / 452.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.3052, allocations: 404 kB / 452.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.3064, allocations: 0.6415 MB / 453.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.3064, allocations: 4 kB / 453.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001637/0.3081, allocations: 0.8268 MB / 454.4 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3081, allocations: 8 kB / 454.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3081, allocations: 4.219 kB / 454.4 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/0.3085, allocations: 129.7 kB / 454.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.3092, allocations: 159.7 kB / 454.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.3128, allocations: 3.509 MB / 458.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.3133, allocations: 91.38 kB / 458.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.3134, allocations: 40.05 kB / 458.3 MB, free: 12.07 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.000306/0.3137, allocations: 196 kB / 458.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3138, allocations: 39.77 kB / 458.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.3154, allocations: 0.7374 MB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3154, allocations: 11.98 kB / 459.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3154, allocations: 4 kB / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3154, allocations: 0 / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.318, allocations: 1.301 MB / 460.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.318, allocations: 0 / 460.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.3185, allocations: 115.9 kB / 460.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/0.3189, allocations: 110 kB / 460.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.3189, allocations: 23.98 kB / 460.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003001/0.3219, allocations: 3.065 MB / 463.9 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3219, allocations: 0 / 463.9 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.324, allocations: 1.129 MB / 465.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3241, allocations: 47.67 kB / 465.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.3242, allocations: 8 kB / 465.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.3246, allocations: 31.97 kB / 465.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3247, allocations: 60.48 kB / 465.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.3247, allocations: 16 kB / 465.2 MB, free: 4.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.3249, allocations: 184.5 kB / 465.4 MB, free: 4.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3249, allocations: 64 / 465.4 MB, free: 4.699 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008745/0.3258, allocations: 227.6 kB / 465.6 MB, free: 4.477 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.0003055/0.3261, allocations: 151 kB / 465.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.3279, allocations: 0.8561 MB / 466.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3279, allocations: 0 / 466.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009018/0.3288, allocations: 0.5368 MB / 467.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.3293, allocations: 32.44 kB / 467.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.3318, allocations: 1.127 MB / 468.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3321, allocations: 261.5 kB / 468.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3323, allocations: 63.34 kB / 468.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3323, allocations: 4 kB / 468.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of Templates: time 0.01713/0.3494, allocations: 12.03 MB / 480.7 MB, free: 5.293 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.977114803972654]