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.001596/0.001596, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001788/0.001788, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.988 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.251, allocations: 53.36 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006785/0.2578, allocations: 4.383 MB / 435.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.2611, allocations: 1.748 MB / 437.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.2613, allocations: 12 kB / 437.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.2637, allocations: 1.027 MB / 438.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.2643, allocations: 258.1 kB / 438.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.2659, allocations: 0.7741 MB / 439.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006895/0.2666, allocations: 0.6338 MB / 440 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.2673, allocations: 472.8 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.2677, allocations: 287 kB / 440.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.2681, allocations: 358.5 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.2682, allocations: 56 kB / 441.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.2687, allocations: 283.8 kB / 441.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.2688, allocations: 151.4 kB / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.2691, allocations: 326.3 kB / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2703, allocations: 0.9816 MB / 442.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2703, allocations: 0 / 442.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2703, allocations: 0 / 442.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.2703, allocations: 0 / 442.8 MB, free: 11.1 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.003501/0.2738, allocations: 1.211 MB / 444.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2738, allocations: 8.031 kB / 444.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.274, allocations: 122.8 kB / 444.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.2752, allocations: 200.4 kB / 444.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2754, allocations: 179.4 kB / 444.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.2755, allocations: 66.3 kB / 444.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.2756, allocations: 72.38 kB / 444.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.277, allocations: 0.7738 MB / 445.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.277, allocations: 0 / 445.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.696e-05/0.277, allocations: 32 kB / 445.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.2771, allocations: 16 kB / 445.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.2784, allocations: 0.6688 MB / 446.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.2826, allocations: 2.876 MB / 449.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.2844, allocations: 0.8313 MB / 449.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.285, allocations: 295.5 kB / 450.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.2851, allocations: 32.83 kB / 450.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.2852, allocations: 39.22 kB / 450.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.295e-06/0.2852, allocations: 3.938 kB / 450.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002523/0.2877, allocations: 0.9874 MB / 451.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.2878, allocations: 115.5 kB / 451.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.2881, allocations: 269.8 kB / 451.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.2881, allocations: 41.7 kB / 451.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.2883, allocations: 296.4 kB / 451.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.2886, allocations: 269.7 kB / 452.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.2888, allocations: 134.6 kB / 452.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.289, allocations: 354.7 kB / 452.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.2894, allocations: 225.9 kB / 452.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.29, allocations: 394.2 kB / 453.3 MB, free: 224 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.2912, allocations: 0.6338 MB / 453.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2912, allocations: 0 / 453.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001576/0.2928, allocations: 0.8344 MB / 454.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2928, allocations: 8.344 kB / 454.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2928, allocations: 8 kB / 454.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.2932, allocations: 117.6 kB / 454.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.2939, allocations: 163.7 kB / 455.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.2974, allocations: 3.575 MB / 458.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.2979, allocations: 91.38 kB / 458.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.298, allocations: 28 kB / 458.7 MB, free: 10.47 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.0002886/0.2982, allocations: 209.6 kB / 458.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2984, allocations: 43.72 kB / 459 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.2999, allocations: 0.7336 MB / 459.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.2999, allocations: 8 kB / 459.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2999, allocations: 4 kB / 459.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.2999, allocations: 7.922 kB / 459.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.3026, allocations: 1.465 MB / 461.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3026, allocations: 0 / 461.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.3031, allocations: 119.8 kB / 461.3 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.3034, allocations: 109.6 kB / 461.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.3035, allocations: 16 kB / 461.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.3064, allocations: 3.138 MB / 464.6 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3064, allocations: 4.031 kB / 464.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.3083, allocations: 1.125 MB / 465.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.3084, allocations: 47.67 kB / 465.8 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.3084, allocations: 23.88 kB / 465.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.3088, allocations: 23.98 kB / 465.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.309, allocations: 56.55 kB / 465.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.309, allocations: 19.98 kB / 465.9 MB, free: 2.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.3092, allocations: 197.3 kB / 466.1 MB, free: 2.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3092, allocations: 3.938 kB / 466.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.31, allocations: 219.6 kB / 466.3 MB, free: 2.574 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.002411/0.3124, allocations: 1.712 MB / 468 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.3141, allocations: 0.8568 MB / 468.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3141, allocations: 0 / 468.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008248/0.3149, allocations: 0.5398 MB / 469.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.3154, allocations: 36.5 kB / 469.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.3231, allocations: 4.739 MB / 474.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.3237, allocations: 0.8616 MB / 475 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.324, allocations: 84.34 kB / 475.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.3243, allocations: 203.4 kB / 475.3 MB, free: 9.23 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3243, allocations: 0 / 475.3 MB, free: 9.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0484/0.3727, allocations: 11.46 MB / 486.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.01, allocations: 7.438 kB / 486.8 MB, free: 13.92 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] 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: 15.352048729080707]