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.001703/0.001703, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001902/0.001902, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.476/1.476, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.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.001468/0.001468, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.23, allocations: 52.13 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006801/0.2368, allocations: 4.384 MB / 425.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.2396, allocations: 1.67 MB / 426.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.2398, allocations: 12 kB / 426.9 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.2419, allocations: 1.017 MB / 427.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.2424, allocations: 254.2 kB / 428.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.2439, allocations: 0.8086 MB / 429 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.2445, allocations: 0.6375 MB / 429.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.2451, allocations: 403 kB / 430 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.2454, allocations: 278.9 kB / 430.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.2459, allocations: 358.5 kB / 430.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/0.246, allocations: 56 kB / 430.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.2464, allocations: 275.7 kB / 431 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2466, allocations: 139.5 kB / 431.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.2469, allocations: 330.4 kB / 431.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.2479, allocations: 0.9609 MB / 432.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2479, allocations: 0 / 432.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2479, allocations: 3.938 kB / 432.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.248, allocations: 0 / 432.4 MB, free: 3.531 MB / 334.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.003564/0.2515, allocations: 1.271 MB / 433.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2516, allocations: 8.031 kB / 433.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.2529, allocations: 208.3 kB / 433.9 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.2532, allocations: 235.6 kB / 434.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.2532, allocations: 62.31 kB / 434.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.2534, allocations: 80.31 kB / 434.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.2548, allocations: 0.7663 MB / 435 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.2548, allocations: 0 / 435 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.2549, allocations: 32 kB / 435.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.2549, allocations: 16 kB / 435.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.2563, allocations: 0.6727 MB / 435.7 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.2606, allocations: 3.092 MB / 438.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.2631, allocations: 2.017 MB / 440.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006535/0.2637, allocations: 303.4 kB / 441.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.2638, allocations: 97.73 kB / 441.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2639, allocations: 43.22 kB / 441.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.054e-06/0.2639, allocations: 0 / 441.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002729/0.2666, allocations: 1.138 MB / 442.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/0.2667, allocations: 111.5 kB / 442.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.267, allocations: 274.5 kB / 442.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.267, allocations: 37.7 kB / 442.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.2673, allocations: 312.3 kB / 443.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.2675, allocations: 253.8 kB / 443.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.2677, allocations: 138.6 kB / 443.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2679, allocations: 350.7 kB / 443.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/0.2684, allocations: 225.9 kB / 444.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/0.2691, allocations: 390.2 kB / 444.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.2702, allocations: 0.6415 MB / 445.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.2702, allocations: 0 / 445.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001621/0.2719, allocations: 0.8227 MB / 445.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2719, allocations: 8.375 kB / 445.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2719, allocations: 8 kB / 445.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003898/0.2723, allocations: 121.6 kB / 446.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/0.2729, allocations: 167.7 kB / 446.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.2765, allocations: 3.794 MB / 450 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.277, allocations: 91.38 kB / 450.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.2771, allocations: 35.94 kB / 450.2 MB, free: 0.5781 MB / 350.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.0002568/0.2773, allocations: 193.8 kB / 450.3 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.2774, allocations: 43.72 kB / 450.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.279, allocations: 0.7375 MB / 451.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.279, allocations: 12 kB / 451.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.279, allocations: 4 kB / 451.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2791, allocations: 3.984 kB / 451.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.2816, allocations: 1.493 MB / 452.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2816, allocations: 3.938 kB / 452.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.2821, allocations: 111.8 kB / 452.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.2824, allocations: 113.6 kB / 452.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.2825, allocations: 16 kB / 452.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003154/0.2856, allocations: 3.345 MB / 456.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2856, allocations: 4 kB / 456.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.2877, allocations: 1.121 MB / 457.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2878, allocations: 124.8 kB / 457.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.2879, allocations: 23.98 kB / 457.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.2883, allocations: 23.98 kB / 457.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.2884, allocations: 56.58 kB / 457.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.2885, allocations: 19.94 kB / 457.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.2887, allocations: 194 kB / 457.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2887, allocations: 4 kB / 457.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007851/0.2895, allocations: 215.6 kB / 458 MB, free: 8.324 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.0002633/0.2897, allocations: 150.1 kB / 458.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.2914, allocations: 0.8561 MB / 459 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2914, allocations: 0 / 459 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.2923, allocations: 0.533 MB / 459.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.2927, allocations: 39.5 kB / 459.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.295, allocations: 1.135 MB / 460.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.2954, allocations: 0.8656 MB / 461.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.2958, allocations: 80.36 kB / 461.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.2959, allocations: 43.42 kB / 461.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2959, allocations: 0 / 461.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of Templates: time 0.01258/0.3085, allocations: 6.535 MB / 468.2 MB, free: 13.99 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.597196247428656]