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.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.001345/0.001345, allocations: 114.7 kB / 19.17 MB, free: 3.914 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.001308/0.001308, allocations: 211.8 kB / 22.12 MB, free: 0.9648 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.475/1.475, allocations: 207.6 MB / 232.5 MB, free: 3.949 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.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",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="cs",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.001725/0.001725, allocations: 51.92 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09468, allocations: 49.13 MB / 392.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005768/0.1004, allocations: 4.154 MB / 396.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.1037, allocations: 1.694 MB / 398 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.1041, allocations: 12 kB / 398 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.1066, allocations: 1.023 MB / 399 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006765/0.1073, allocations: 234.3 kB / 399.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.1088, allocations: 0.7591 MB / 400 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.1095, allocations: 0.63 MB / 400.6 MB, free: 176 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.1101, allocations: 375.4 kB / 401 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.1105, allocations: 275 kB / 401.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.1109, allocations: 334.6 kB / 401.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.111, allocations: 52 kB / 401.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.1116, allocations: 271.7 kB / 401.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1117, allocations: 131.5 kB / 402 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.112, allocations: 310.5 kB / 402.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.1131, allocations: 0.9145 MB / 403.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1131, allocations: 4 kB / 403.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1131, allocations: 7.875 kB / 403.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1131, allocations: 0 / 403.3 MB, free: 13.52 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.003605/0.1167, allocations: 1.216 MB / 404.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1168, allocations: 8.031 kB / 404.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.572e-05/0.1168, allocations: 22.19 kB / 404.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.1169, allocations: 110.7 kB / 404.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.118, allocations: 176.4 kB / 404.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1183, allocations: 241.2 kB / 405 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.1183, allocations: 54.38 kB / 405.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1184, allocations: 64.38 kB / 405.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.1197, allocations: 0.7035 MB / 405.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1197, allocations: 7.938 kB / 405.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.1198, allocations: 24 kB / 405.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.1198, allocations: 16 kB / 405.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.1211, allocations: 0.6024 MB / 406.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.1246, allocations: 2.313 MB / 408.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.1263, allocations: 1.57 MB / 410.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005344/0.1269, allocations: 251.3 kB / 410.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.127, allocations: 93.64 kB / 410.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.1271, allocations: 47.16 kB / 410.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.925e-06/0.1271, allocations: 0 / 410.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001686/0.1288, allocations: 0.7018 MB / 411.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.1288, allocations: 115.3 kB / 411.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.1291, allocations: 257 kB / 411.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.1292, allocations: 33.7 kB / 411.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.1294, allocations: 280.6 kB / 412.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.1296, allocations: 230.1 kB / 412.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.1298, allocations: 118.7 kB / 412.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1299, allocations: 350.7 kB / 412.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.1304, allocations: 209.9 kB / 413 MB, free: 3.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.131, allocations: 305.4 kB / 413.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.1321, allocations: 0.5103 MB / 413.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1321, allocations: 0 / 413.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001323/0.1334, allocations: 0.6299 MB / 414.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1334, allocations: 7.906 kB / 414.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1334, allocations: 0 / 414.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1334, allocations: 8 kB / 414.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.1342, allocations: 159.8 kB / 414.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.1342, allocations: 7.938 kB / 414.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.1347, allocations: 75.48 kB / 414.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.1347, allocations: 28 kB / 414.7 MB, free: 1.414 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.0002515/0.135, allocations: 193.6 kB / 414.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1351, allocations: 39.77 kB / 415 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.1364, allocations: 0.6007 MB / 415.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.1364, allocations: 8 kB / 415.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1364, allocations: 0 / 415.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.1364, allocations: 3.984 kB / 415.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.1387, allocations: 1.29 MB / 416.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1387, allocations: 4 kB / 416.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.1392, allocations: 127.9 kB / 417 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1392, allocations: 4 kB / 417 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.1393, allocations: 23.92 kB / 417 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1393, allocations: 7.938 kB / 417 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1393, allocations: 0 / 417 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.1411, allocations: 0.9715 MB / 418 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1412, allocations: 128.7 kB / 418.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.1412, allocations: 15.94 kB / 418.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.1416, allocations: 28.05 kB / 418.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.1418, allocations: 44.5 kB / 418.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.1418, allocations: 19.98 kB / 418.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.142, allocations: 188.5 kB / 418.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.142, allocations: 0 / 418.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000593/0.1426, allocations: 179.6 kB / 418.6 MB, free: 13.45 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.00224/0.1448, allocations: 1.562 MB / 420.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.146, allocations: 0.5 MB / 420.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.146, allocations: 0 / 420.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.1465, allocations: 255 kB / 420.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.1471, allocations: 52.73 kB / 421 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/0.1538, allocations: 4.23 MB / 425.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.1543, allocations: 0.8382 MB / 426 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.1546, allocations: 79.39 kB / 426.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.1549, allocations: 203.3 kB / 426.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1549, allocations: 0 / 426.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.1855, allocations: 9.414 MB / 435.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/8.773, allocations: 12 kB / 435.7 MB, free: 12.07 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/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/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.216917562007438]