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.0009599/0.00096, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.000917/0.0009171, allocations: 175.6 kB / 18.21 MB, free: 5.551 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.418/1.418, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005145/0.0005148, allocations: 12.47 kB / 281.5 MB, free: 3.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.0983, allocations: 47.58 MB / 329.1 MB, free: 3.645 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004256/0.1026, allocations: 3.853 MB / 332.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1054, allocations: 1.656 MB / 334.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.1058, allocations: 16 kB / 334.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.1065, allocations: 223.1 kB / 334.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007933/0.1073, allocations: 210.7 kB / 335 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.109, allocations: 0.7595 MB / 335.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007968/0.1098, allocations: 0.6026 MB / 336.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.1115, allocations: 0.9232 MB / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000429/0.112, allocations: 227 kB / 337.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.1125, allocations: 314.6 kB / 337.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.921e-05/0.1126, allocations: 32 kB / 337.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006034/0.1132, allocations: 239.7 kB / 338.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1133, allocations: 107.5 kB / 338.2 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.1137, allocations: 320 kB / 338.5 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1147, allocations: 0.9072 MB / 339.4 MB, free: 9.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1148, allocations: 0 / 339.4 MB, free: 9.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1148, allocations: 0 / 339.4 MB, free: 9.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.1148, allocations: 3.938 kB / 339.4 MB, free: 9.207 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.003568/0.1184, allocations: 1.151 MB / 340.6 MB, free: 8.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1184, allocations: 12.03 kB / 340.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.1186, allocations: 126.7 kB / 340.7 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.12, allocations: 211.9 kB / 340.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1202, allocations: 231.5 kB / 341.1 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/0.1203, allocations: 54.38 kB / 341.2 MB, free: 7.336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.1205, allocations: 72.38 kB / 341.3 MB, free: 7.266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.122, allocations: 0.7934 MB / 342.1 MB, free: 6.453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.1221, allocations: 4 kB / 342.1 MB, free: 6.449 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.1222, allocations: 28 kB / 342.1 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.1222, allocations: 20 kB / 342.1 MB, free: 6.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.1237, allocations: 0.6884 MB / 342.8 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.1279, allocations: 3.126 MB / 345.9 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.1302, allocations: 2.074 MB / 348 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.1309, allocations: 335.5 kB / 348.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.853e-05/0.131, allocations: 97.73 kB / 348.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.131, allocations: 47.22 kB / 348.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.131, allocations: 0 / 348.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002643/0.1337, allocations: 1.181 MB / 349.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.1338, allocations: 115.5 kB / 349.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.1341, allocations: 270.5 kB / 350 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.1341, allocations: 41.7 kB / 350.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1343, allocations: 295.4 kB / 350.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.1345, allocations: 244.4 kB / 350.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.1346, allocations: 65.91 kB / 350.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1347, allocations: 358.7 kB / 351 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.1352, allocations: 237.8 kB / 351.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.1358, allocations: 406.2 kB / 351.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.137, allocations: 0.6533 MB / 352.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.137, allocations: 3.984 kB / 352.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001658/0.1387, allocations: 0.85 MB / 353.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1387, allocations: 8 kB / 353.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1387, allocations: 4 kB / 353.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.1391, allocations: 125.7 kB / 353.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.1398, allocations: 167.8 kB / 353.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.1426, allocations: 3.423 MB / 356.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.1432, allocations: 91.11 kB / 357 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.1432, allocations: 35.98 kB / 357 MB, free: 6.418 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.0002798/0.1435, allocations: 205.5 kB / 357.2 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1436, allocations: 43.53 kB / 357.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.1452, allocations: 0.7648 MB / 358 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1452, allocations: 8 kB / 358 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1453, allocations: 0 / 358 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1453, allocations: 7.984 kB / 358 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.1478, allocations: 1.52 MB / 359.5 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.1478, allocations: 0 / 359.5 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.1483, allocations: 115.9 kB / 359.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.1486, allocations: 114 kB / 359.8 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.1486, allocations: 16 kB / 359.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.1512, allocations: 3.112 MB / 362.9 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1512, allocations: 4 kB / 362.9 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.1532, allocations: 1.155 MB / 364 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.1534, allocations: 124.5 kB / 364.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.1534, allocations: 16 kB / 364.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.1539, allocations: 32.05 kB / 364.2 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.154, allocations: 56.58 kB / 364.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.154, allocations: 19.98 kB / 364.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.1542, allocations: 190 kB / 364.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1542, allocations: 0 / 364.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008595/0.1551, allocations: 219.4 kB / 364.7 MB, free: 14.31 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.002428/0.1575, allocations: 1.747 MB / 366.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.1592, allocations: 0.8999 MB / 367.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.1592, allocations: 4 kB / 367.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.16, allocations: 0.5751 MB / 367.9 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.1605, allocations: 44.61 kB / 368 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007346/0.1679, allocations: 5.181 MB / 373.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.1684, allocations: 0.8656 MB / 374 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004238/0.1689, allocations: 88.34 kB / 374.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.1692, allocations: 195.4 kB / 374.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1692, allocations: 4 kB / 374.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/0.3397, allocations: 9.879 MB / 384.2 MB, free: 52.04 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.3399, allocations: 260.3 kB / 384.4 MB, free: 51.78 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.432, allocations: 0.625 kB / 384.4 MB, free: 51.78 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