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.00133/0.00133, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.009438/0.009438, allocations: 163.7 kB / 24.69 MB, free: 9.434 MB / 18.57 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 0.9035/0.9035, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.511e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.1475/0.1475, allocations: 3.882 MB / 302.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1495, allocations: 1.588 MB / 303.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.1497, allocations: 15.5 kB / 303.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.1509, allocations: 0.9905 MB / 304.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.1513, allocations: 264 kB / 305.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.1523, allocations: 0.729 MB / 305.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.1527, allocations: 0.6656 MB / 306.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005224/0.1532, allocations: 462.3 kB / 307 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.1537, allocations: 403.5 kB / 307.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.1541, allocations: 275.1 kB / 307.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/0.1542, allocations: 56.09 kB / 307.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006772/0.1549, allocations: 255.9 kB / 308 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.1549, allocations: 140.8 kB / 308.1 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.1551, allocations: 221.1 kB / 308.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1562, allocations: 0.9979 MB / 309.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1563, allocations: 0 / 309.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1563, allocations: 0 / 309.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1563, allocations: 2.094 kB / 309.3 MB, free: 10.77 MB / 282.7 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.002249/0.1585, allocations: 1.192 MB / 310.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1586, allocations: 18.34 kB / 310.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.1587, allocations: 120.8 kB / 310.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/0.1594, allocations: 211.8 kB / 310.9 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.1596, allocations: 176.3 kB / 311 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.1596, allocations: 56.88 kB / 311.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.781e-05/0.1597, allocations: 76.64 kB / 311.2 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1608, allocations: 0.7875 MB / 312 MB, free: 9.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.1608, allocations: 10.06 kB / 312 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.1609, allocations: 30.25 kB / 312 MB, free: 9.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.1609, allocations: 24.33 kB / 312 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/0.1619, allocations: 0.6627 MB / 312.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.1645, allocations: 2.267 MB / 315 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1656, allocations: 0.8212 MB / 315.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.166, allocations: 295 kB / 316.1 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.78e-05/0.1661, allocations: 16.97 kB / 316.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1661, allocations: 44.84 kB / 316.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 2.524e-06/0.1661, allocations: 0 / 316.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001575/0.1677, allocations: 0.9849 MB / 317.1 MB, free: 6.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1677, allocations: 111.7 kB / 317.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1679, allocations: 284 kB / 317.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.168, allocations: 35.86 kB / 317.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1681, allocations: 299 kB / 317.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1682, allocations: 254 kB / 318.1 MB, free: 6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.1683, allocations: 143.5 kB / 318.2 MB, free: 5.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.1684, allocations: 356.8 kB / 318.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.1687, allocations: 229.4 kB / 318.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.169, allocations: 414.8 kB / 319.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.1697, allocations: 0.632 MB / 319.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1697, allocations: 0 / 319.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001026/0.1707, allocations: 0.8303 MB / 320.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1707, allocations: 7.031 kB / 320.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1707, allocations: 4.75 kB / 320.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.1711, allocations: 125.1 kB / 320.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.1714, allocations: 157.7 kB / 320.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.1733, allocations: 3.563 MB / 324.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.1737, allocations: 89.94 kB / 324.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.1737, allocations: 33.75 kB / 324.6 MB, free: 1.145 MB / 282.7 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.000245/0.174, allocations: 200.2 kB / 324.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.1741, allocations: 39.8 kB / 324.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.1751, allocations: 0.7447 MB / 325.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.1751, allocations: 7.656 kB / 325.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1751, allocations: 3.781 kB / 325.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1751, allocations: 3.984 kB / 325.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.1768, allocations: 1.373 MB / 327 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1768, allocations: 1.188 kB / 327 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.1771, allocations: 113.3 kB / 327.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.1773, allocations: 117 kB / 327.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.1774, allocations: 18.77 kB / 327.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.1794, allocations: 3.124 MB / 330.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1794, allocations: 0 / 330.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.1806, allocations: 1.115 MB / 331.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.1807, allocations: 53.44 kB / 331.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1808, allocations: 11.47 kB / 331.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.181, allocations: 29.06 kB / 331.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.1811, allocations: 61.17 kB / 331.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1811, allocations: 16.28 kB / 331.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.1813, allocations: 196.4 kB / 331.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1813, allocations: 0 / 331.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007324/0.182, allocations: 215.7 kB / 332 MB, free: 11.6 MB / 298.7 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.001785/0.1838, allocations: 1.701 MB / 333.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.1852, allocations: 0.8451 MB / 334.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1852, allocations: 7.938 kB / 334.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.1857, allocations: 0.5406 MB / 335.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.1861, allocations: 40.44 kB / 335.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.1913, allocations: 4.753 MB / 339.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.1915, allocations: 265.5 kB / 340.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002426/0.1918, allocations: 84.36 kB / 340.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.192, allocations: 204.4 kB / 340.5 MB, free: 3.629 MB / 298.7 MB Notification: Performance of SimCode: time 1.753e-06/0.192, allocations: 3.938 kB / 340.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.2233, allocations: 11.6 MB / 352.1 MB, free: 7.969 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.726, allocations: 3.906 kB / 352.1 MB, free: 7.965 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 9.41358021646738]