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.001716/0.001716, allocations: 118 kB / 18.45 MB, free: 4.566 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.001512/0.001512, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.426/1.426, allocations: 207.6 MB / 231.8 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] 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: 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.001734/0.001734, allocations: 55.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09755, allocations: 49.13 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006139/0.1037, allocations: 4.316 MB / 395.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.1072, allocations: 1.682 MB / 397.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.1077, allocations: 12 kB / 397.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.1104, allocations: 1.031 MB / 398.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008826/0.1112, allocations: 262.1 kB / 398.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.1129, allocations: 0.7591 MB / 399.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009829/0.1139, allocations: 0.6378 MB / 400.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007596/0.1147, allocations: 405.3 kB / 400.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.1151, allocations: 282.9 kB / 400.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004468/0.1155, allocations: 362.5 kB / 401.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1156, allocations: 56 kB / 401.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006052/0.1162, allocations: 271.8 kB / 401.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1163, allocations: 139.5 kB / 401.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.1167, allocations: 326.4 kB / 401.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.1178, allocations: 0.9611 MB / 402.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1178, allocations: 4 kB / 402.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1178, allocations: 0 / 402.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1179, allocations: 0 / 402.9 MB, free: 13.19 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.003761/0.1216, allocations: 1.275 MB / 404.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1217, allocations: 12.03 kB / 404.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.1218, allocations: 114.8 kB / 404.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.1232, allocations: 208.3 kB / 404.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1234, allocations: 251.4 kB / 404.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.1235, allocations: 54.31 kB / 404.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1236, allocations: 72.38 kB / 404.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.125, allocations: 0.7739 MB / 405.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.125, allocations: 3.953 kB / 405.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.1251, allocations: 32 kB / 405.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1251, allocations: 23.94 kB / 405.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.1265, allocations: 0.6687 MB / 406.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.1309, allocations: 3.088 MB / 409.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.1335, allocations: 2.004 MB / 411.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.1341, allocations: 295.5 kB / 411.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.1343, allocations: 97.73 kB / 411.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1343, allocations: 43.22 kB / 411.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.344e-06/0.1343, allocations: 0 / 411.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002776/0.1371, allocations: 1.138 MB / 413 MB, free: 2.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.1372, allocations: 115.4 kB / 413.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.1375, allocations: 274.5 kB / 413.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.1376, allocations: 37.7 kB / 413.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1378, allocations: 308.3 kB / 413.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.138, allocations: 257.8 kB / 414 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.1382, allocations: 138.6 kB / 414.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1384, allocations: 350.7 kB / 414.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.139, allocations: 229.9 kB / 414.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.1396, allocations: 382.2 kB / 415.1 MB, free: 144 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.1409, allocations: 0.6454 MB / 415.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1409, allocations: 0 / 415.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001695/0.1426, allocations: 0.8386 MB / 416.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1426, allocations: 7.906 kB / 416.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1426, allocations: 8 kB / 416.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.1431, allocations: 121.6 kB / 416.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/0.1437, allocations: 160 kB / 416.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.1476, allocations: 3.794 MB / 420.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.1481, allocations: 91.38 kB / 420.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.1482, allocations: 35.92 kB / 420.7 MB, free: 10.09 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.0002937/0.1484, allocations: 201.7 kB / 420.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1486, allocations: 39.77 kB / 421 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.1502, allocations: 0.7414 MB / 421.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1503, allocations: 4 kB / 421.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1503, allocations: 8 kB / 421.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1503, allocations: 7.922 kB / 421.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.153, allocations: 1.477 MB / 423.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.153, allocations: 4 kB / 423.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.1535, allocations: 119.8 kB / 423.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.1538, allocations: 101.7 kB / 423.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.1538, allocations: 23.98 kB / 423.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/0.1569, allocations: 3.345 MB / 426.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1569, allocations: 0 / 426.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.159, allocations: 1.117 MB / 427.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1592, allocations: 132.7 kB / 428.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.1592, allocations: 20.06 kB / 428.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.1596, allocations: 27.97 kB / 428.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.1597, allocations: 52.58 kB / 428.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.1598, allocations: 19.94 kB / 428.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.16, allocations: 197.9 kB / 428.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.16, allocations: 0 / 428.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008466/0.1609, allocations: 215.6 kB / 428.6 MB, free: 1.848 MB / 350.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.002619/0.1635, allocations: 1.712 MB / 430.3 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.1653, allocations: 0.8483 MB / 431.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1653, allocations: 0 / 431.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008974/0.1662, allocations: 0.5369 MB / 431.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.1667, allocations: 36.56 kB / 431.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/0.1746, allocations: 4.786 MB / 436.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.1751, allocations: 0.8656 MB / 437.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003352/0.1755, allocations: 76.36 kB / 437.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.1758, allocations: 207.3 kB / 437.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.1758, allocations: 0 / 437.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/0.221, allocations: 10.78 MB / 448.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.01, allocations: 11.88 kB / 448.4 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable cuboidRight.port_p.reference.gamma in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.553683003003243]