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.00172/0.00172, allocations: 122.5 kB / 18.46 MB, free: 4.598 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.001984/0.001984, allocations: 190.6 kB / 21.4 MB, free: 1.668 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.454/1.454, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.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.001493/0.001493, allocations: 43.92 kB / 366.8 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 52.14 MB / 419 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005993/0.1078, allocations: 4.364 MB / 423.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1108, allocations: 1.658 MB / 425 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.111, allocations: 12 kB / 425 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.1135, allocations: 1.026 MB / 426 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006694/0.1141, allocations: 254.2 kB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.1158, allocations: 0.794 MB / 427.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007618/0.1165, allocations: 0.6375 MB / 427.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007082/0.1172, allocations: 409.4 kB / 428.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.1176, allocations: 278.9 kB / 428.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.1181, allocations: 354.5 kB / 428.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.398e-05/0.1182, allocations: 56 kB / 428.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.1189, allocations: 271.7 kB / 429 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.119, allocations: 139.5 kB / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.1193, allocations: 330.3 kB / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.1205, allocations: 0.9573 MB / 430.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1206, allocations: 8 kB / 430.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1206, allocations: 0 / 430.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.1206, allocations: 0 / 430.5 MB, free: 0.5742 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.003775/0.1243, allocations: 1.267 MB / 431.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1244, allocations: 16.03 kB / 431.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.1258, allocations: 208.3 kB / 431.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1261, allocations: 243.5 kB / 432.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.1262, allocations: 50.38 kB / 432.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1263, allocations: 84.25 kB / 432.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.1278, allocations: 0.7663 MB / 433.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.1278, allocations: 8 kB / 433.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.1279, allocations: 28 kB / 433.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.1279, allocations: 20 kB / 433.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.1294, allocations: 0.6688 MB / 433.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.1337, allocations: 3.088 MB / 436.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.1363, allocations: 2.017 MB / 438.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006807/0.1369, allocations: 295.6 kB / 439.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.1371, allocations: 101.7 kB / 439.3 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.1371, allocations: 43.22 kB / 439.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.1371, allocations: 0 / 439.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002866/0.14, allocations: 1.142 MB / 440.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.14, allocations: 111.5 kB / 440.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1404, allocations: 274.5 kB / 440.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.1404, allocations: 33.7 kB / 440.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.1407, allocations: 308.3 kB / 441.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.1409, allocations: 258 kB / 441.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.1411, allocations: 142.6 kB / 441.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1413, allocations: 358.7 kB / 441.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.1418, allocations: 225.9 kB / 442.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.1425, allocations: 386.2 kB / 442.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.1437, allocations: 0.6337 MB / 443.2 MB, free: 2.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1437, allocations: 8 kB / 443.2 MB, free: 2.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001707/0.1454, allocations: 0.8269 MB / 444 MB, free: 2.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.1455, allocations: 8 kB / 444 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1455, allocations: 4 kB / 444 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.1459, allocations: 121.7 kB / 444.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.1466, allocations: 159.7 kB / 444.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1837/0.3302, allocations: 3.793 MB / 448.1 MB, free: 27.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.3308, allocations: 84.94 kB / 448.2 MB, free: 27.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.3309, allocations: 30.12 kB / 448.2 MB, free: 27.86 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.0002347/0.3311, allocations: 211.5 kB / 448.4 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.3312, allocations: 43.27 kB / 448.4 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.3327, allocations: 0.7401 MB / 449.2 MB, free: 27.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3327, allocations: 10.12 kB / 449.2 MB, free: 27.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3327, allocations: 2.344 kB / 449.2 MB, free: 27.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3327, allocations: 2.719 kB / 449.2 MB, free: 27.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.3349, allocations: 1.49 MB / 450.7 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3349, allocations: 0 / 450.7 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.3354, allocations: 114.7 kB / 450.8 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.3357, allocations: 110.7 kB / 450.9 MB, free: 27.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.3358, allocations: 13.66 kB / 450.9 MB, free: 27.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.3377, allocations: 3.347 MB / 454.3 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3377, allocations: 1.844 kB / 454.3 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.3396, allocations: 1.124 MB / 455.4 MB, free: 24.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3397, allocations: 131.2 kB / 455.5 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.3398, allocations: 12.41 kB / 455.5 MB, free: 24.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.3402, allocations: 32.31 kB / 455.6 MB, free: 24.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.3404, allocations: 57.55 kB / 455.6 MB, free: 24.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.3404, allocations: 17.83 kB / 455.6 MB, free: 24.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.3406, allocations: 196.8 kB / 455.8 MB, free: 24.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3406, allocations: 0.75 kB / 455.8 MB, free: 24.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008263/0.3414, allocations: 214.2 kB / 456 MB, free: 24.01 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.0002329/0.3416, allocations: 149.9 kB / 456.2 MB, free: 23.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.3432, allocations: 0.8531 MB / 457 MB, free: 23.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3432, allocations: 1.125 kB / 457 MB, free: 23.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008452/0.3441, allocations: 0.5295 MB / 457.6 MB, free: 23.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.3446, allocations: 49.8 kB / 457.6 MB, free: 23.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3467, allocations: 1.159 MB / 458.8 MB, free: 22.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.347, allocations: 0.863 MB / 459.6 MB, free: 21.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3472, allocations: 53.86 kB / 459.7 MB, free: 21.81 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3472, allocations: 0 / 459.7 MB, free: 21.81 MB / 366.1 MB Notification: Performance of Templates: time 0.01528/0.3625, allocations: 11.6 MB / 471.3 MB, free: 18.36 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.932011116994545]