Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8698/0.8698, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.586e-05, allocations: 3.125 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003289/0.003304, allocations: 3.819 MB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.005177, allocations: 1.631 MB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.005333, allocations: 12 kB / 330 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.006439, allocations: 0.987 MB / 331 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.006796, allocations: 254 kB / 331.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.007655, allocations: 0.7266 MB / 331.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.008073, allocations: 0.6372 MB / 332.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.008606, allocations: 419.5 kB / 333 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.008961, allocations: 387.1 kB / 333.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.009177, allocations: 255.3 kB / 333.6 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.009226, allocations: 52 kB / 333.7 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.009566, allocations: 287.5 kB / 333.9 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.009629, allocations: 135.4 kB / 334.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.009745, allocations: 203.5 kB / 334.3 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.01056, allocations: 0.9813 MB / 335.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.01056, allocations: 0 / 335.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01056, allocations: 0 / 335.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.01057, allocations: 0 / 335.3 MB, free: 5.086 MB / 298.7 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.001941/0.01251, allocations: 1.157 MB / 336.4 MB, free: 3.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.01255, allocations: 11.98 kB / 336.4 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.605e-05/0.01263, allocations: 114.7 kB / 336.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.01323, allocations: 180.4 kB / 336.7 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.01337, allocations: 177.7 kB / 336.9 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.01341, allocations: 54.38 kB / 336.9 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.01348, allocations: 64.33 kB / 337 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.01427, allocations: 0.7292 MB / 337.7 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.01429, allocations: 4.188 kB / 337.7 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.01433, allocations: 36.06 kB / 337.8 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.01435, allocations: 16 kB / 337.8 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009137/0.01526, allocations: 0.5946 MB / 338.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.01723, allocations: 1.873 MB / 340.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/0.01801, allocations: 0.6736 MB / 340.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.01829, allocations: 251.5 kB / 341.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.0184, allocations: 28.62 kB / 341.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.01842, allocations: 47.19 kB / 341.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.673e-06/0.01843, allocations: 0 / 341.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009566/0.01938, allocations: 0.7046 MB / 342 MB, free: 14.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.01943, allocations: 115.4 kB / 342.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.01962, allocations: 269.6 kB / 342.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.01965, allocations: 37.7 kB / 342.4 MB, free: 13.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.01976, allocations: 264.8 kB / 342.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.01987, allocations: 237.9 kB / 342.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01999, allocations: 126.7 kB / 343 MB, free: 13.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.02007, allocations: 350.8 kB / 343.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.02034, allocations: 205.9 kB / 343.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.02066, allocations: 327.1 kB / 343.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.02125, allocations: 0.5185 MB / 344.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02125, allocations: 0 / 344.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007259/0.02198, allocations: 0.6337 MB / 345 MB, free: 11.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.022, allocations: 8 kB / 345 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.022, allocations: 0 / 345 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.02202, allocations: 4 kB / 345 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.0226, allocations: 155.8 kB / 345.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.02261, allocations: 4 kB / 345.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.02282, allocations: 83.61 kB / 345.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.02285, allocations: 23.98 kB / 345.3 MB, free: 10.75 MB / 314.7 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.0001533/0.023, allocations: 189.7 kB / 345.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.02306, allocations: 43.7 kB / 345.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/0.02378, allocations: 0.5951 MB / 346.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.02378, allocations: 8 kB / 346.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.02378, allocations: 4 kB / 346.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.02379, allocations: 7.984 kB / 346.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.02504, allocations: 1.186 MB / 347.3 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02504, allocations: 0 / 347.3 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.02532, allocations: 127.8 kB / 347.4 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.02532, allocations: 4 kB / 347.4 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.02534, allocations: 16 kB / 347.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.02535, allocations: 11.94 kB / 347.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02535, allocations: 0 / 347.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.02632, allocations: 0.9862 MB / 348.4 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.02636, allocations: 43.66 kB / 348.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.0264, allocations: 16 kB / 348.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.02658, allocations: 28.05 kB / 348.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.02664, allocations: 48.5 kB / 348.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.02666, allocations: 16 kB / 348.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.02679, allocations: 197.2 kB / 348.8 MB, free: 7.156 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02679, allocations: 3.938 kB / 348.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.02712, allocations: 183.6 kB / 349 MB, free: 6.973 MB / 314.7 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.001234/0.02836, allocations: 1.57 MB / 350.5 MB, free: 5.371 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.02898, allocations: 0.4974 MB / 351 MB, free: 4.875 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02898, allocations: 4.375 kB / 351 MB, free: 4.871 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.02925, allocations: 255.6 kB / 351.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.02961, allocations: 52.34 kB / 351.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.03387, allocations: 4.179 MB / 355.5 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.03403, allocations: 241.1 kB / 355.7 MB, free: 4 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.03425, allocations: 79.41 kB / 355.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.03444, allocations: 192.4 kB / 356 MB, free: 15.74 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03444, allocations: 0 / 356 MB, free: 15.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.05805, allocations: 10.38 MB / 366.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.206, allocations: 11.86 kB / 366.4 MB, free: 5.527 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.834320765919983]