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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 104.5 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 47.92 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09731, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005504/0.1029, allocations: 4.289 MB / 331 MB, free: 484 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.1057, allocations: 1.667 MB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.1062, allocations: 12 kB / 332.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.1084, allocations: 0.9574 MB / 333.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000698/0.1091, allocations: 214.7 kB / 333.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1106, allocations: 0.7672 MB / 334.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.1114, allocations: 0.6065 MB / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008135/0.1122, allocations: 489.8 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.1126, allocations: 258.9 kB / 335.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.1131, allocations: 350.6 kB / 336.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.94e-05/0.1132, allocations: 44 kB / 336.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.1138, allocations: 251.7 kB / 336.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1139, allocations: 123.5 kB / 336.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.1142, allocations: 314.3 kB / 337 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009964/0.1152, allocations: 0.9266 MB / 337.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1152, allocations: 3.984 kB / 337.9 MB, free: 9.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1152, allocations: 0 / 337.9 MB, free: 9.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.1153, allocations: 4 kB / 337.9 MB, free: 9.496 MB / 286.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.003711/0.119, allocations: 1.261 MB / 339.2 MB, free: 8.184 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.119, allocations: 8.031 kB / 339.2 MB, free: 8.176 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.1192, allocations: 118.8 kB / 339.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.1205, allocations: 211.9 kB / 339.5 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1208, allocations: 243.3 kB / 339.8 MB, free: 7.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.1208, allocations: 54.38 kB / 339.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.1209, allocations: 72.38 kB / 339.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.1223, allocations: 0.77 MB / 340.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1224, allocations: 0 / 340.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.1224, allocations: 32 kB / 340.7 MB, free: 6.625 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.1225, allocations: 20 kB / 340.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1238, allocations: 0.661 MB / 341.4 MB, free: 5.941 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/0.1281, allocations: 3.122 MB / 344.5 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.1304, allocations: 2.078 MB / 346.6 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/0.1311, allocations: 323.5 kB / 346.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.1312, allocations: 101.7 kB / 347 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1313, allocations: 39.22 kB / 347 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.1313, allocations: 224 / 347 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002679/0.1339, allocations: 1.138 MB / 348.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.134, allocations: 115.4 kB / 348.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.1344, allocations: 278.5 kB / 348.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.1344, allocations: 37.7 kB / 348.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1346, allocations: 291.5 kB / 348.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.1348, allocations: 248.4 kB / 349.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.135, allocations: 134.6 kB / 349.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1352, allocations: 354.7 kB / 349.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/0.1357, allocations: 233.8 kB / 349.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.1364, allocations: 386.2 kB / 350.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.1375, allocations: 0.6337 MB / 350.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1375, allocations: 4 kB / 350.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001566/0.1391, allocations: 0.8344 MB / 351.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.1391, allocations: 8 kB / 351.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1391, allocations: 4 kB / 351.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.1395, allocations: 125.7 kB / 351.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.1402, allocations: 159.7 kB / 352 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.1432, allocations: 3.408 MB / 355.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.1437, allocations: 87.23 kB / 355.5 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.1438, allocations: 27.98 kB / 355.5 MB, free: 6.734 MB / 302.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.0002909/0.1441, allocations: 213.5 kB / 355.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1442, allocations: 39.53 kB / 355.7 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.1457, allocations: 0.7452 MB / 356.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.1458, allocations: 8 kB / 356.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1458, allocations: 4 kB / 356.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1458, allocations: 3.984 kB / 356.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.1483, allocations: 1.501 MB / 358 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1483, allocations: 0 / 358 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.1488, allocations: 119.8 kB / 358.1 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/0.1491, allocations: 105.7 kB / 358.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.1491, allocations: 15.98 kB / 358.2 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002674/0.1518, allocations: 3.113 MB / 361.3 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1518, allocations: 0 / 361.3 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.1538, allocations: 1.12 MB / 362.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.1539, allocations: 120.5 kB / 362.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.1539, allocations: 12 kB / 362.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.1543, allocations: 31.97 kB / 362.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.1545, allocations: 60.56 kB / 362.7 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.1545, allocations: 24 kB / 362.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1547, allocations: 190 kB / 362.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1547, allocations: 0 / 362.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007664/0.1555, allocations: 219.4 kB / 363.1 MB, free: 14.71 MB / 318.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.002292/0.1578, allocations: 1.712 MB / 364.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.1593, allocations: 0.8837 MB / 365.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1593, allocations: 3.938 kB / 365.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.1601, allocations: 0.5639 MB / 366.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.1606, allocations: 40.56 kB / 366.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007324/0.168, allocations: 5.07 MB / 371.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.1685, allocations: 0.8696 MB / 372.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004113/0.1689, allocations: 80.34 kB / 372.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.1692, allocations: 199.4 kB / 372.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1692, allocations: 4 kB / 372.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/0.3247, allocations: 10.05 MB / 382.6 MB, free: 52.6 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.325, allocations: 269.8 kB / 382.8 MB, free: 52.33 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.441, allocations: 0.625 kB / 382.8 MB, free: 52.33 MB / 318.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches