Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.005049/0.005049, allocations: 99.61 kB / 21.96 MB, free: 5.211 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.001335/0.001335, allocations: 218 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 51.92 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2377, allocations: 49.16 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004588/0.2423, allocations: 3.863 MB / 401 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.2449, allocations: 1.595 MB / 402.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.2452, allocations: 11.72 kB / 402.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.2472, allocations: 0.9448 MB / 403.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006529/0.2478, allocations: 256.6 kB / 403.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2491, allocations: 0.7142 MB / 404.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006049/0.2497, allocations: 0.6398 MB / 405.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006092/0.2504, allocations: 481.7 kB / 405.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.2507, allocations: 281.4 kB / 405.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.2511, allocations: 362.5 kB / 406.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.2512, allocations: 56.34 kB / 406.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.2517, allocations: 260.8 kB / 406.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.2518, allocations: 141.5 kB / 406.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.252, allocations: 263.5 kB / 407 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2531, allocations: 0.9654 MB / 407.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2531, allocations: 0 / 407.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2531, allocations: 1.188 kB / 407.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.2531, allocations: 0 / 407.9 MB, free: 2.465 MB / 318.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.003669/0.2568, allocations: 1.195 MB / 409.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2568, allocations: 17.58 kB / 409.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.242e-05/0.2569, allocations: 20.06 kB / 409.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.257, allocations: 125.5 kB / 409.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.2584, allocations: 208.8 kB / 409.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.2586, allocations: 193 kB / 409.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.2586, allocations: 55.69 kB / 409.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.2587, allocations: 72.88 kB / 409.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.2601, allocations: 0.795 MB / 410.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.2601, allocations: 8.516 kB / 410.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.2602, allocations: 30.91 kB / 410.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.2602, allocations: 17.88 kB / 410.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.2615, allocations: 0.6621 MB / 411.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.2651, allocations: 2.271 MB / 413.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.2669, allocations: 0.8087 MB / 414.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006344/0.2675, allocations: 290.4 kB / 414.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.649e-05/0.2676, allocations: 18.42 kB / 414.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.2676, allocations: 47.69 kB / 414.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.916e-06/0.2677, allocations: 0 / 414.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002624/0.2703, allocations: 0.9844 MB / 415.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.2704, allocations: 111.2 kB / 415.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.2707, allocations: 273.1 kB / 416.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.2707, allocations: 36.02 kB / 416.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.2709, allocations: 309.5 kB / 416.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.2712, allocations: 255.5 kB / 416.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.2714, allocations: 137.9 kB / 416.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2716, allocations: 352.4 kB / 417.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.2721, allocations: 225.4 kB / 417.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.2727, allocations: 417.7 kB / 417.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2739, allocations: 0.633 MB / 418.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2739, allocations: 1.219 kB / 418.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001582/0.2755, allocations: 0.8362 MB / 419.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2755, allocations: 6.094 kB / 419.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2755, allocations: 4.094 kB / 419.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/0.2759, allocations: 127.5 kB / 419.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.2765, allocations: 157.1 kB / 419.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.28, allocations: 3.563 MB / 423.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.2805, allocations: 86.8 kB / 423.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.2806, allocations: 34.3 kB / 423.2 MB, free: 7.766 MB / 334.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.0002925/0.2809, allocations: 203.4 kB / 423.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.281, allocations: 39.8 kB / 423.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.2825, allocations: 0.7388 MB / 424.2 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2825, allocations: 7.156 kB / 424.2 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.2826, allocations: 10.47 kB / 424.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.2826, allocations: 9.172 kB / 424.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.2851, allocations: 1.365 MB / 425.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2851, allocations: 4 kB / 425.6 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.2856, allocations: 119.8 kB / 425.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.2859, allocations: 109.6 kB / 425.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.2859, allocations: 15.98 kB / 425.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/0.2889, allocations: 3.126 MB / 429 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2889, allocations: 0 / 429 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.2909, allocations: 1.121 MB / 430.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.291, allocations: 55.55 kB / 430.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/0.2911, allocations: 12 kB / 430.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.2914, allocations: 28.05 kB / 430.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.2916, allocations: 56.55 kB / 430.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.2916, allocations: 23.98 kB / 430.3 MB, free: 1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.2918, allocations: 189.2 kB / 430.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2918, allocations: 0 / 430.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008605/0.2927, allocations: 215.7 kB / 430.7 MB, free: 0.6055 MB / 334.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.0025/0.2952, allocations: 1.712 MB / 432.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.2969, allocations: 0.8484 MB / 433.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2969, allocations: 0 / 433.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.2977, allocations: 0.5369 MB / 433.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.2982, allocations: 36.48 kB / 433.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007441/0.3057, allocations: 4.772 MB / 438.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.306, allocations: 265.5 kB / 438.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.3063, allocations: 80.36 kB / 438.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.3066, allocations: 203.3 kB / 439.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3066, allocations: 0 / 439.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.35, allocations: 11.38 MB / 450.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.16, allocations: 3.938 kB / 450.5 MB, free: 12.4 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.482320351991802]