Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.498/1.498, allocations: 207.6 MB / 231.8 MB, free: 4.199 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.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.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001778/0.001778, allocations: 51.91 kB / 342.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1091, allocations: 49.11 MB / 391.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006342/0.1155, allocations: 4.165 MB / 395.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.1189, allocations: 1.69 MB / 397.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.1192, allocations: 12 kB / 397.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.1218, allocations: 1.015 MB / 398.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007323/0.1225, allocations: 238.2 kB / 398.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1242, allocations: 0.8018 MB / 399.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007764/0.125, allocations: 0.6145 MB / 399.9 MB, free: 204 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006734/0.1257, allocations: 379.4 kB / 400.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.1261, allocations: 267 kB / 400.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.1265, allocations: 338.6 kB / 400.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.1266, allocations: 52 kB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005657/0.1271, allocations: 275.7 kB / 401.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1272, allocations: 131.5 kB / 401.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.1275, allocations: 310.5 kB / 401.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.1286, allocations: 0.9144 MB / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1286, allocations: 0 / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1286, allocations: 4 kB / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.1287, allocations: 0 / 402.5 MB, free: 13.55 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003502/0.1322, allocations: 1.22 MB / 403.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1322, allocations: 12.03 kB / 403.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.1323, allocations: 106.7 kB / 403.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.1334, allocations: 176.4 kB / 404 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1337, allocations: 241.2 kB / 404.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.1337, allocations: 54.38 kB / 404.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1338, allocations: 64.38 kB / 404.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1351, allocations: 0.7114 MB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.1352, allocations: 0 / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.1352, allocations: 28 kB / 405.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1352, allocations: 16 kB / 405.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1366, allocations: 0.5946 MB / 405.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.1401, allocations: 2.321 MB / 408.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.142, allocations: 1.582 MB / 409.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.1425, allocations: 243.4 kB / 409.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.1427, allocations: 93.66 kB / 410 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.1427, allocations: 43.16 kB / 410 MB, free: 5.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.505e-06/0.1427, allocations: 0 / 410 MB, free: 5.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001646/0.1443, allocations: 0.7056 MB / 410.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.1444, allocations: 115.4 kB / 410.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.1447, allocations: 257 kB / 411.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.1448, allocations: 37.7 kB / 411.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.145, allocations: 272.7 kB / 411.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.1452, allocations: 238.1 kB / 411.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.1454, allocations: 118.7 kB / 411.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1456, allocations: 350.7 kB / 412.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.146, allocations: 205.9 kB / 412.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.1466, allocations: 301.4 kB / 412.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.1476, allocations: 0.5142 MB / 413.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1476, allocations: 0 / 413.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001323/0.149, allocations: 0.626 MB / 413.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.149, allocations: 11.91 kB / 413.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.149, allocations: 0 / 413.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.149, allocations: 4 kB / 413.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.1498, allocations: 159.8 kB / 413.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1498, allocations: 11.94 kB / 413.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.1503, allocations: 71.55 kB / 414 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.1503, allocations: 35.98 kB / 414 MB, free: 1.445 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.1506, allocations: 185.7 kB / 414.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.1507, allocations: 43.75 kB / 414.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.152, allocations: 0.5968 MB / 414.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.152, allocations: 15.97 kB / 414.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.152, allocations: 0 / 414.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.152, allocations: 3.938 kB / 414.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.1545, allocations: 1.298 MB / 416.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1545, allocations: 0 / 416.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.1551, allocations: 127.9 kB / 416.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1551, allocations: 0 / 416.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.1551, allocations: 27.92 kB / 416.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1551, allocations: 0 / 416.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1551, allocations: 3.938 kB / 416.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.1569, allocations: 0.9716 MB / 417.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.1571, allocations: 128.7 kB / 417.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.1571, allocations: 20 kB / 417.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.1575, allocations: 27.97 kB / 417.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1576, allocations: 40.52 kB / 417.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.1577, allocations: 19.98 kB / 417.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.1579, allocations: 188.5 kB / 417.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1579, allocations: 0 / 417.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005924/0.1585, allocations: 179.6 kB / 417.9 MB, free: 13.48 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002293/0.1608, allocations: 1.562 MB / 419.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.162, allocations: 0.5077 MB / 419.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.162, allocations: 0 / 419.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.1625, allocations: 243.1 kB / 420.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.1631, allocations: 56.8 kB / 420.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.1705, allocations: 4.222 MB / 424.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.1711, allocations: 0.8382 MB / 425.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000369/0.1715, allocations: 87.39 kB / 425.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.1718, allocations: 187.3 kB / 425.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1718, allocations: 0 / 425.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.2098, allocations: 9.373 MB / 434.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/8.858, allocations: 16.8 kB / 434.9 MB, free: 12.15 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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: 11.437862641643733]