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.001579/0.001579, allocations: 109.5 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.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.001689/0.001689, allocations: 183.7 kB / 23.72 MB, free: 4.699 MB / 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.416/1.416, allocations: 225.6 MB / 252.5 MB, free: 13.02 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_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_0_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.00154/0.00154, allocations: 51.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2341, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005958/0.2401, allocations: 4.384 MB / 427 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.243, allocations: 1.658 MB / 428.7 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.2432, allocations: 12 kB / 428.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.2457, allocations: 1.035 MB / 429.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006058/0.2463, allocations: 258.2 kB / 430 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.2479, allocations: 0.797 MB / 430.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.2487, allocations: 0.6375 MB / 431.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007276/0.2494, allocations: 476.8 kB / 431.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.2498, allocations: 279 kB / 432.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.2503, allocations: 358.6 kB / 432.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.063e-05/0.2504, allocations: 56 kB / 432.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.2509, allocations: 267.8 kB / 432.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.251, allocations: 143.4 kB / 433 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.2513, allocations: 334.3 kB / 433.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2525, allocations: 0.9622 MB / 434.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2525, allocations: 0 / 434.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2525, allocations: 0 / 434.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.2525, allocations: 0 / 434.2 MB, free: 2.945 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.003599/0.2561, allocations: 1.203 MB / 435.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2561, allocations: 8.031 kB / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.2563, allocations: 118.8 kB / 435.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.2576, allocations: 208.4 kB / 435.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2578, allocations: 189.6 kB / 436 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.2579, allocations: 54.38 kB / 436 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.258, allocations: 76.33 kB / 436.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.2594, allocations: 0.77 MB / 436.9 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.2594, allocations: 4 kB / 436.9 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.2595, allocations: 28 kB / 436.9 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.2595, allocations: 20 kB / 436.9 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.2609, allocations: 0.6649 MB / 437.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.2653, allocations: 2.857 MB / 440.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.2671, allocations: 0.8084 MB / 441.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.2678, allocations: 299.5 kB / 441.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.159e-05/0.2679, allocations: 20.64 kB / 441.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.2679, allocations: 47.44 kB / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.464e-06/0.2679, allocations: 0 / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002632/0.2706, allocations: 0.991 MB / 442.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.2706, allocations: 107.5 kB / 442.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.2709, allocations: 273.8 kB / 443 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.271, allocations: 41.64 kB / 443 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.2712, allocations: 304.3 kB / 443.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.2714, allocations: 257.8 kB / 443.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.2716, allocations: 142.6 kB / 443.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2718, allocations: 358.7 kB / 444 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.2723, allocations: 229.9 kB / 444.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.273, allocations: 378.3 kB / 444.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.2742, allocations: 0.6376 MB / 445.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2742, allocations: 0 / 445.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001696/0.2759, allocations: 0.8268 MB / 446.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2759, allocations: 4 kB / 446.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2759, allocations: 4 kB / 446.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.2763, allocations: 129.7 kB / 446.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.277, allocations: 159.8 kB / 446.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.2806, allocations: 3.584 MB / 450 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.2812, allocations: 87.39 kB / 450.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.2812, allocations: 31.98 kB / 450.1 MB, free: 2.359 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.0002868/0.2815, allocations: 197.7 kB / 450.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.2816, allocations: 43.77 kB / 450.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.2832, allocations: 0.7414 MB / 451.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.2832, allocations: 8 kB / 451.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2832, allocations: 4 kB / 451.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.2833, allocations: 7.922 kB / 451.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.2859, allocations: 1.457 MB / 452.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2859, allocations: 0 / 452.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/0.2865, allocations: 115.9 kB / 452.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.2868, allocations: 109.6 kB / 452.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.2868, allocations: 20 kB / 452.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.2898, allocations: 3.146 MB / 455.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2898, allocations: 7.969 kB / 455.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.2919, allocations: 1.113 MB / 457 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.2919, allocations: 51.55 kB / 457.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.292, allocations: 19.94 kB / 457.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.2924, allocations: 28.05 kB / 457.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2925, allocations: 56.55 kB / 457.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.2926, allocations: 23.98 kB / 457.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.2928, allocations: 189.2 kB / 457.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2928, allocations: 0 / 457.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007812/0.2935, allocations: 211.6 kB / 457.6 MB, free: 10.49 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.002518/0.2961, allocations: 1.728 MB / 459.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.2977, allocations: 0.8445 MB / 460.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2977, allocations: 0 / 460.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008659/0.2986, allocations: 0.5368 MB / 460.7 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.2991, allocations: 49.02 kB / 460.8 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007621/0.3067, allocations: 4.764 MB / 465.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.3073, allocations: 0.8655 MB / 466.4 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003405/0.3076, allocations: 76.38 kB / 466.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.3079, allocations: 207.3 kB / 466.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3079, allocations: 0 / 466.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0592/0.3671, allocations: 11.34 MB / 478 MB, free: 5.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.78, allocations: 5.859 kB / 478 MB, free: 5.93 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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: 15.135205992031842]