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.001731/0.001731, allocations: 107 kB / 21.18 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.002162/0.002162, allocations: 214.7 kB / 24.48 MB, free: 3.941 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 2.219/2.219, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 177] 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.002404/0.002404, allocations: 43.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3177, allocations: 53.36 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.009209/0.3269, allocations: 3.928 MB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004985/0.3318, allocations: 1.615 MB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006757/0.3325, allocations: 12 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.3355, allocations: 0.956 MB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009481/0.3364, allocations: 254.2 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.3386, allocations: 0.731 MB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3398, allocations: 0.6299 MB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.3414, allocations: 472.4 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005788/0.342, allocations: 286.9 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.3426, allocations: 366.5 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.3427, allocations: 56 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008349/0.3435, allocations: 283.8 kB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3437, allocations: 135.5 kB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.344, allocations: 270.7 kB / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.3456, allocations: 0.9803 MB / 443.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3456, allocations: 0 / 443.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3456, allocations: 0 / 443.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3456, allocations: 3.938 kB / 443.3 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.005782/0.3514, allocations: 1.215 MB / 444.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3515, allocations: 12.03 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.3539, allocations: 196.4 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3542, allocations: 181.6 kB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.3542, allocations: 54.38 kB / 444.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.3544, allocations: 76.38 kB / 445 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.3565, allocations: 0.7953 MB / 445.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.3565, allocations: 3.953 kB / 445.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.3566, allocations: 35.94 kB / 445.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.3566, allocations: 19.94 kB / 445.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.3588, allocations: 0.6688 MB / 446.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006411/0.3652, allocations: 2.187 MB / 448.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.3686, allocations: 0.8286 MB / 449.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3696, allocations: 283.8 kB / 449.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.3698, allocations: 36.56 kB / 449.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.3699, allocations: 39.22 kB / 449.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 4.899e-06/0.3699, allocations: 0 / 449.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.004626/0.3745, allocations: 0.9871 MB / 450.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.3746, allocations: 115.4 kB / 451 MB, free: 3.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.3751, allocations: 260.7 kB / 451.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/0.3752, allocations: 41.7 kB / 451.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.3756, allocations: 308.3 kB / 451.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/0.3759, allocations: 257.8 kB / 451.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00036/0.3763, allocations: 138.6 kB / 452 MB, free: 2.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.3765, allocations: 354.7 kB / 452.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009309/0.3774, allocations: 229.9 kB / 452.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3785, allocations: 408 kB / 452.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.3806, allocations: 0.6376 MB / 453.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3806, allocations: 4.219 kB / 453.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002823/0.3834, allocations: 0.8265 MB / 454.4 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.3834, allocations: 16.28 kB / 454.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3834, allocations: 4 kB / 454.4 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007092/0.3841, allocations: 121.6 kB / 454.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.3854, allocations: 155.8 kB / 454.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005555/0.391, allocations: 3.517 MB / 458.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000922/0.3919, allocations: 95.5 kB / 458.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.392, allocations: 39.92 kB / 458.3 MB, free: 12.06 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.0004446/0.3924, allocations: 193.7 kB / 458.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.3926, allocations: 35.77 kB / 458.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.3954, allocations: 0.7452 MB / 459.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3954, allocations: 8 kB / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3954, allocations: 4 kB / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.3954, allocations: 3.984 kB / 459.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.3997, allocations: 1.29 MB / 460.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3997, allocations: 0 / 460.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.4007, allocations: 115.9 kB / 460.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005412/0.4013, allocations: 113.6 kB / 460.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.4013, allocations: 15.98 kB / 460.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/0.4061, allocations: 3.065 MB / 463.9 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.4061, allocations: 7.922 kB / 463.9 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.4096, allocations: 1.121 MB / 465 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.4098, allocations: 43.67 kB / 465.1 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.4099, allocations: 16 kB / 465.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.4106, allocations: 31.97 kB / 465.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.4108, allocations: 60.53 kB / 465.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/0.4109, allocations: 27.98 kB / 465.2 MB, free: 4.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003366/0.4113, allocations: 180.5 kB / 465.4 MB, free: 4.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4113, allocations: 0 / 465.4 MB, free: 4.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001573/0.4128, allocations: 219.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.0004385/0.4133, allocations: 153.1 kB / 465.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002843/0.4161, allocations: 0.8521 MB / 466.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.4161, allocations: 4.938 kB / 466.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.4176, allocations: 0.5321 MB / 467.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008294/0.4184, allocations: 34.84 kB / 467.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.422, allocations: 1.094 MB / 468.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.4225, allocations: 265.5 kB / 468.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006101/0.4231, allocations: 76.31 kB / 468.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.4233, allocations: 47.42 kB / 468.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4233, allocations: 3.938 kB / 468.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of Templates: time 0.02199/0.4453, allocations: 7.055 MB / 475.7 MB, free: 10.33 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 -s cvode -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.318059012002777]