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.001531/0.001531, allocations: 112.5 kB / 18.45 MB, free: 4.562 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.00189/0.00189, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001537/0.001537, allocations: 40.03 kB / 374.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 53.35 MB / 427.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.1983/0.3018, allocations: 4.342 MB / 431.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.3049, allocations: 1.739 MB / 433.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.3052, allocations: 11.66 kB / 433.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.3072, allocations: 1.036 MB / 434.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006268/0.3078, allocations: 253.1 kB / 434.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3092, allocations: 0.7746 MB / 435.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.3098, allocations: 0.6375 MB / 436.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006595/0.3104, allocations: 398.9 kB / 436.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.3108, allocations: 280.8 kB / 436.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.3112, allocations: 359.7 kB / 437.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.648e-05/0.3113, allocations: 56.12 kB / 437.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006868/0.312, allocations: 294.1 kB / 437.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.3121, allocations: 136.8 kB / 437.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.3124, allocations: 328.5 kB / 438.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.3136, allocations: 0.9837 MB / 439.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3136, allocations: 0 / 439.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3136, allocations: 0 / 439.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.3136, allocations: 0 / 439.1 MB, free: 6.629 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.003704/0.3173, allocations: 1.284 MB / 440.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3173, allocations: 9.547 kB / 440.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.3187, allocations: 197.6 kB / 440.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3189, allocations: 247.8 kB / 440.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.319, allocations: 56.03 kB / 440.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3191, allocations: 72.53 kB / 440.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.3204, allocations: 0.7666 MB / 441.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.3204, allocations: 6.234 kB / 441.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.3205, allocations: 31.28 kB / 441.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.3205, allocations: 22.61 kB / 441.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3218, allocations: 0.6668 MB / 442.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.3258, allocations: 3.266 MB / 445.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.3277, allocations: 2.01 MB / 447.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.3282, allocations: 290.9 kB / 448 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.3283, allocations: 189.4 kB / 448.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.3284, allocations: 40.64 kB / 448.2 MB, free: 364 kB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/0.3284, allocations: 3.938 kB / 448.2 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002564/0.3309, allocations: 1.14 MB / 449.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.331, allocations: 116 kB / 449.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.3314, allocations: 274.6 kB / 449.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.3314, allocations: 39.7 kB / 449.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.3317, allocations: 297.8 kB / 450.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.3319, allocations: 264.2 kB / 450.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.3321, allocations: 137.5 kB / 450.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3323, allocations: 356.9 kB / 450.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.3328, allocations: 231.9 kB / 451 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.3335, allocations: 382.6 kB / 451.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.3347, allocations: 0.6361 MB / 452 MB, free: 13.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3347, allocations: 6.984 kB / 452 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001668/0.3363, allocations: 0.835 MB / 452.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3364, allocations: 7.281 kB / 452.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3364, allocations: 3.406 kB / 452.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/0.3368, allocations: 130.5 kB / 453 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.3374, allocations: 154.7 kB / 453.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/0.3413, allocations: 3.796 MB / 457 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.3419, allocations: 80.91 kB / 457 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.3419, allocations: 33.73 kB / 457.1 MB, free: 9.934 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.0003309/0.3423, allocations: 195.5 kB / 457.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3424, allocations: 48.38 kB / 457.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.344, allocations: 0.7302 MB / 458 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.344, allocations: 11.06 kB / 458.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.344, allocations: 4.719 kB / 458.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.344, allocations: 3.609 kB / 458.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.3468, allocations: 1.497 MB / 459.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3468, allocations: 1.75 kB / 459.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.3473, allocations: 114.1 kB / 459.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/0.3477, allocations: 111.5 kB / 459.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.3477, allocations: 18.77 kB / 459.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003162/0.3509, allocations: 3.349 MB / 463.2 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3509, allocations: 2.391 kB / 463.2 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.353, allocations: 1.122 MB / 464.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.3531, allocations: 132.6 kB / 464.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.3532, allocations: 12.77 kB / 464.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.3536, allocations: 29.81 kB / 464.4 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.3538, allocations: 57.2 kB / 464.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.675e-05/0.3538, allocations: 24.95 kB / 464.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.3541, allocations: 189.4 kB / 464.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3541, allocations: 1.125 kB / 464.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009311/0.355, allocations: 218.4 kB / 464.9 MB, free: 4.496 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.00028/0.3553, allocations: 153.3 kB / 465.1 MB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.357, allocations: 0.8471 MB / 465.9 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.357, allocations: 0 / 465.9 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008704/0.3579, allocations: 0.5405 MB / 466.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.3584, allocations: 45.48 kB / 466.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.3608, allocations: 1.128 MB / 467.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.3614, allocations: 0.8649 MB / 468.5 MB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.3616, allocations: 56.27 kB / 468.6 MB, free: 2.109 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3616, allocations: 0 / 468.6 MB, free: 2.109 MB / 366.1 MB Notification: Performance of Templates: time 0.01728/0.3789, allocations: 11.85 MB / 480.4 MB, free: 10.09 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.995454035990406]