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.00124/0.00124, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001337/0.001337, allocations: 211.8 kB / 24.51 MB, free: 3.918 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.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 7.75 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 51.91 kB / 378.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2196, allocations: 53.37 MB / 431.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005381/0.225, allocations: 3.926 MB / 435.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.2274, allocations: 1.611 MB / 437.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.2275, allocations: 12 kB / 437.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.2297, allocations: 0.9564 MB / 438.4 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.2302, allocations: 258.1 kB / 438.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.2316, allocations: 0.7241 MB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006191/0.2322, allocations: 0.6377 MB / 440 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006581/0.2329, allocations: 466.6 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.2332, allocations: 286.9 kB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.2336, allocations: 350.6 kB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.2337, allocations: 56 kB / 441.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.2342, allocations: 287.7 kB / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2343, allocations: 135.5 kB / 441.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.2346, allocations: 270.7 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.2356, allocations: 0.9881 MB / 442.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2356, allocations: 3.938 kB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2356, allocations: 0 / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2356, allocations: 0 / 442.8 MB, free: 11.66 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.003533/0.2392, allocations: 1.211 MB / 444 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2392, allocations: 12.03 kB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3e-05/0.2392, allocations: 26.12 kB / 444 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.2394, allocations: 122.8 kB / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.2407, allocations: 192.4 kB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2409, allocations: 183.4 kB / 444.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.241, allocations: 58.38 kB / 444.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.2411, allocations: 72.38 kB / 444.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.2424, allocations: 0.7949 MB / 445.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.2425, allocations: 4 kB / 445.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.2425, allocations: 35.98 kB / 445.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2425, allocations: 20 kB / 445.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2438, allocations: 0.6649 MB / 446.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.2476, allocations: 2.291 MB / 448.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.2494, allocations: 0.8201 MB / 449.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.2499, allocations: 295.5 kB / 449.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.33e-05/0.25, allocations: 32.62 kB / 449.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.2501, allocations: 43.22 kB / 449.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.924e-06/0.2501, allocations: 0 / 449.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002418/0.2525, allocations: 0.9873 MB / 450.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.2526, allocations: 111.5 kB / 450.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.2529, allocations: 273.8 kB / 451 MB, free: 3.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.2529, allocations: 41.7 kB / 451.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.2531, allocations: 304.4 kB / 451.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.2533, allocations: 253.8 kB / 451.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.2536, allocations: 138.6 kB / 451.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2537, allocations: 354.7 kB / 452.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.2542, allocations: 233.9 kB / 452.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.2548, allocations: 412 kB / 452.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.2559, allocations: 0.6298 MB / 453.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.256, allocations: 8 kB / 453.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001531/0.2575, allocations: 0.8307 MB / 454.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2575, allocations: 8.219 kB / 454.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2575, allocations: 7.938 kB / 454.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.2579, allocations: 129.7 kB / 454.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.2585, allocations: 159.7 kB / 454.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/0.262, allocations: 3.559 MB / 458 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.2625, allocations: 83.39 kB / 458.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.2625, allocations: 35.98 kB / 458.2 MB, free: 11.66 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.0002779/0.2628, allocations: 201.8 kB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2629, allocations: 43.72 kB / 458.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.2645, allocations: 0.7375 MB / 459.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.2645, allocations: 8 kB / 459.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2645, allocations: 8 kB / 459.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.2645, allocations: 7.922 kB / 459.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.2669, allocations: 1.375 MB / 460.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2669, allocations: 0 / 460.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.2674, allocations: 115.8 kB / 460.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.2677, allocations: 105.7 kB / 460.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.2677, allocations: 15.98 kB / 460.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.2706, allocations: 3.126 MB / 463.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2706, allocations: 0 / 463.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.2725, allocations: 1.121 MB / 465 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.2726, allocations: 47.66 kB / 465.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.2727, allocations: 15.95 kB / 465.1 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.273, allocations: 27.97 kB / 465.1 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.2732, allocations: 56.55 kB / 465.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.2732, allocations: 20 kB / 465.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.2734, allocations: 193.2 kB / 465.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2734, allocations: 0 / 465.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007973/0.2742, allocations: 219.6 kB / 465.6 MB, free: 3.887 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.002382/0.2766, allocations: 1.72 MB / 467.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.2782, allocations: 0.8526 MB / 468.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2782, allocations: 0 / 468.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.279, allocations: 0.5359 MB / 468.7 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.2796, allocations: 44.92 kB / 468.7 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/0.2868, allocations: 4.745 MB / 473.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.2871, allocations: 265.5 kB / 473.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.2874, allocations: 80.36 kB / 473.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.2877, allocations: 207.3 kB / 474 MB, free: 11.13 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2877, allocations: 0 / 474 MB, free: 11.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5948/0.8825, allocations: 11.58 MB / 485.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.86, allocations: 2.406 kB / 485.6 MB, free: 15.77 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.227310762973502]